mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
Fix deploy.sh bug; When entering the internal IP manually, docker still uses the public IP when starting up. (#115)
This commit is contained in:
parent
1bdd09593f
commit
dfd1cc5790
@ -218,6 +218,8 @@ function update(){
|
|||||||
-p ${ZT_PORT}:${ZT_PORT}/udp \
|
-p ${ZT_PORT}:${ZT_PORT}/udp \
|
||||||
-p ${API_PORT}:${API_PORT}\
|
-p ${API_PORT}:${API_PORT}\
|
||||||
-p ${FILE_PORT}:${FILE_PORT} \
|
-p ${FILE_PORT}:${FILE_PORT} \
|
||||||
|
-e IP_ADDR4=${ipv4} \
|
||||||
|
-e IP_ADDR6=${ipv6} \
|
||||||
-e ZT_PORT=${ZT_PORT} \
|
-e ZT_PORT=${ZT_PORT} \
|
||||||
-e API_PORT=${API_PORT} \
|
-e API_PORT=${API_PORT} \
|
||||||
-e FILE_SERVER_PORT=${FILE_PORT} \
|
-e FILE_SERVER_PORT=${FILE_PORT} \
|
||||||
|
Loading…
Reference in New Issue
Block a user