Add explicit --bind lan flag to OpenClaw gateway command

CLI flag takes precedence over env vars and config, ensuring
the gateway binds to LAN interface for nginx reverse proxy access.
This commit is contained in:
2026-02-08 21:42:57 +00:00
parent c2a25c2185
commit d66fc86287
+1
View File
@@ -3,6 +3,7 @@ services:
container_name: openclaw
image: ghcr.io/openclaw/openclaw:main
restart: unless-stopped
command: ["node", "openclaw.mjs", "gateway", "--allow-unconfigured", "--bind", "lan"]
environment:
- HOME=/home/node
- TERM=xterm-256color