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:
Jasper Hale
2024-01-04 22:50:35 +08:00
committed by GitHub
parent 1bdd09593f
commit dfd1cc5790

View File

@@ -218,6 +218,8 @@ function update(){
-p ${ZT_PORT}:${ZT_PORT}/udp \
-p ${API_PORT}:${API_PORT}\
-p ${FILE_PORT}:${FILE_PORT} \
-e IP_ADDR4=${ipv4} \
-e IP_ADDR6=${ipv6} \
-e ZT_PORT=${ZT_PORT} \
-e API_PORT=${API_PORT} \
-e FILE_SERVER_PORT=${FILE_PORT} \