Skip to content

Commit 4f5e7a2

Browse files
committed
install.sh
1 parent 19d4299 commit 4f5e7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ save_custom_configs() {
642642
fi
643643

644644
local gateway_port
645-
gateway_port=$(docker inspect websoft9-proxy 2>/dev/null | jq -r '.[0].Config.Env | map(split("=")) | map({(.[0]): .[1]}) | add | .INNER_GATEWAY_PORT // ""')
645+
gateway_port=$(docker exec websoft9-proxy sh -c 'echo $INNER_GATEWAY_PORT')
646646

647647
if [ -n "$gateway_port" ]; then
648648
export inner_gateway_port="$gateway_port"

0 commit comments

Comments
 (0)