diff --git a/deploy.sh b/deploy.sh index b7986da..da3fe76 100755 --- a/deploy.sh +++ b/deploy.sh @@ -48,7 +48,7 @@ function deploy() { echo "启动服务" for i in $(lsof -i:9993 -t); do kill -2 $i; done - docker run -d --network host --name $imageName --restart unless-stopped $imageName + docker run -d -p 9993:9993 -p 9993:9993/udp -p 3443:3443 --name $imageName --restart unless-stopped $imageName docker cp zerotier-planet:/app/bin/planet /opt/planet }