From dfd1cc5790dfbe9718e55a2814c18335bda0687b Mon Sep 17 00:00:00 2001 From: Jasper Hale Date: Thu, 4 Jan 2024 22:50:35 +0800 Subject: [PATCH] Fix deploy.sh bug; When entering the internal IP manually, docker still uses the public IP when starting up. (#115) --- deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.sh b/deploy.sh index f851a7f..7d967af 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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} \