expose port

This commit is contained in:
prod 2022-10-29 13:25:30 +08:00
parent 73ef0c0ede
commit 5579a775b6

View File

@ -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
}