fix: use valid 'loopback' mode and update setup script per review

This commit is contained in:
HassanFleyah 2026-01-30 17:07:43 +03:00
parent e2671a0d30
commit 6fd2caf72f
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ services:
"dist/index.js",
"gateway",
"--bind",
"${OPENCLAW_GATEWAY_BIND:-localhost}",
"${OPENCLAW_GATEWAY_BIND:-loopback}",
"--port",
"${OPENCLAW_GATEWAY_PORT:-18789}"
]

View File

@ -31,7 +31,7 @@ export OPENCLAW_CONFIG_DIR
export OPENCLAW_WORKSPACE_DIR
export OPENCLAW_GATEWAY_PORT="${OPENCLAW_GATEWAY_PORT:-18789}"
export OPENCLAW_BRIDGE_PORT="${OPENCLAW_BRIDGE_PORT:-18790}"
export OPENCLAW_GATEWAY_BIND="${OPENCLAW_GATEWAY_BIND:-lan}"
export OPENCLAW_GATEWAY_BIND="${OPENCLAW_GATEWAY_BIND:-loopback}"
export OPENCLAW_IMAGE="$IMAGE_NAME"
export OPENCLAW_DOCKER_APT_PACKAGES="${OPENCLAW_DOCKER_APT_PACKAGES:-}"
export OPENCLAW_EXTRA_MOUNTS="$EXTRA_MOUNTS"