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
|
# Bootstrap if config doesn't exist
|
||||||
if [ ! -f ~/.openclaw/openclaw.json ]; then
|
if [ ! -f ~/.openclaw/openclaw.json ]; then
|
||||||
node /app/openclaw.mjs onboard --non-interactive --accept-risk \
|
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
|
--skip-daemon --skip-channels --skip-skills --skip-health --skip-ui
|
||||||
fi
|
fi
|
||||||
# Run the gateway
|
# 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:
|
ports:
|
||||||
- name: gateway
|
- name: gateway
|
||||||
containerPort: 18789
|
containerPort: 18789
|
||||||
|
|||||||
Reference in New Issue
Block a user