Dmitry Beresnev commited on
Commit
c37a9bc
·
1 Parent(s): 0568556

fix crash-looping

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. supervisord.conf +1 -1
Dockerfile CHANGED
@@ -42,7 +42,7 @@ ENV OPENCLAW_DISABLE_MDNS=1
42
  ENV OPENCLAW_ONBOARD_NONINTERACTIVE=1
43
  ENV OPENCLAW_CUSTOM_BASE_URL=https://researchengineering-agi.hf.space/v1
44
  ENV OPENCLAW_CUSTOM_MODEL_ID=deepseek-chat
45
- ENV OPENCLAW_GATEWAY_BIND=0.0.0.0
46
 
47
  RUN mkdir -p /app/vault /app/.openclaw/state
48
 
 
42
  ENV OPENCLAW_ONBOARD_NONINTERACTIVE=1
43
  ENV OPENCLAW_CUSTOM_BASE_URL=https://researchengineering-agi.hf.space/v1
44
  ENV OPENCLAW_CUSTOM_MODEL_ID=deepseek-chat
45
+ ENV OPENCLAW_GATEWAY_BIND=lan
46
 
47
  RUN mkdir -p /app/vault /app/.openclaw/state
48
 
supervisord.conf CHANGED
@@ -5,7 +5,7 @@ pidfile=/tmp/supervisord.pid
5
  user=root
6
 
7
  [program:openclaw]
8
- command=/bin/sh -lc "AUTH_FILE_MAIN=/app/.openclaw/state/agents/main/agent/auth-profiles.json; AUTH_FILE_DEV=/app/.openclaw/state/agents/dev/agent/auth-profiles.json; GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND:-0.0.0.0}; if [ \"${OPENCLAW_ONBOARD_NONINTERACTIVE:-1}\" = \"1\" ] && [ ! -s \"$AUTH_FILE_MAIN\" ] && [ ! -s \"$AUTH_FILE_DEV\" ]; then echo '[onboard] running non-interactive setup'; openclaw onboard --non-interactive --mode local --auth-choice custom-api-key --custom-base-url \"${OPENCLAW_CUSTOM_BASE_URL}\" --custom-model-id \"${OPENCLAW_CUSTOM_MODEL_ID}\" --gateway-port 18789 --gateway-bind \"$GATEWAY_BIND\" --skip-skills --accept-risk --secret-input-mode plaintext || true; fi; python /app/scripts/bootstrap_gateway_token.py; exec openclaw gateway run --port 18789 --bind \"$GATEWAY_BIND\" --allow-unconfigured --dev"
9
  autorestart=true
10
  startsecs=5
11
  startretries=20
 
5
  user=root
6
 
7
  [program:openclaw]
8
+ command=/bin/sh -lc "AUTH_FILE_MAIN=/app/.openclaw/state/agents/main/agent/auth-profiles.json; AUTH_FILE_DEV=/app/.openclaw/state/agents/dev/agent/auth-profiles.json; GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND:-lan}; if [ \"${OPENCLAW_ONBOARD_NONINTERACTIVE:-1}\" = \"1\" ] && [ ! -s \"$AUTH_FILE_MAIN\" ] && [ ! -s \"$AUTH_FILE_DEV\" ]; then echo '[onboard] running non-interactive setup'; openclaw onboard --non-interactive --mode local --auth-choice custom-api-key --custom-base-url \"${OPENCLAW_CUSTOM_BASE_URL}\" --custom-model-id \"${OPENCLAW_CUSTOM_MODEL_ID}\" --gateway-port 18789 --gateway-bind \"$GATEWAY_BIND\" --skip-skills --accept-risk --secret-input-mode plaintext || true; fi; python /app/scripts/bootstrap_gateway_token.py; exec openclaw gateway run --port 18789 --bind \"$GATEWAY_BIND\" --allow-unconfigured --dev"
9
  autorestart=true
10
  startsecs=5
11
  startretries=20