We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19d4299 commit 4f5e7a2Copy full SHA for 4f5e7a2
install/install.sh
@@ -642,7 +642,7 @@ save_custom_configs() {
642
fi
643
644
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 // ""')
+ gateway_port=$(docker exec websoft9-proxy sh -c 'echo $INNER_GATEWAY_PORT')
646
647
if [ -n "$gateway_port" ]; then
648
export inner_gateway_port="$gateway_port"
0 commit comments