fix: use 'lan' bind mode instead of raw IP

This commit is contained in:
Clawdbot
2026-01-30 12:10:58 +00:00
parent df1b723c6f
commit fdcc51fa47

View File

@@ -28,11 +28,11 @@ spec:
# Bootstrap if config doesn't exist
if [ ! -f ~/.openclaw/openclaw.json ]; then
node /app/openclaw.mjs onboard --non-interactive --accept-risk \
--gateway-port 18789 --gateway-bind custom \
--gateway-port 18789 --gateway-bind lan \
--skip-daemon --skip-channels --skip-skills --skip-health --skip-ui
fi
# Run the gateway
exec node /app/openclaw.mjs gateway --port 18789 --bind 0.0.0.0
exec node /app/openclaw.mjs gateway --port 18789 --bind lan
ports:
- name: gateway
containerPort: 18789