mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
expose port
This commit is contained in:
parent
73ef0c0ede
commit
5579a775b6
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user