fix: use 'lan' bind mode instead of raw IP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user