Dmitry Beresnev commited on
Commit ·
2a70ca5
1
Parent(s): 49e3c8a
fix anthropic default key conf
Browse files- Dockerfile +3 -0
- supervisord.conf +1 -1
Dockerfile
CHANGED
|
@@ -42,7 +42,10 @@ ENV OPENCLAW_DISABLE_MDNS=1
|
|
| 42 |
ENV OPENCLAW_ONBOARD_NONINTERACTIVE=0
|
| 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 |
ENV OPENCLAW_CONTROL_UI_BASE_PATH=/openclaw
|
| 47 |
ENV OPENCLAW_ALLOWED_ORIGINS=https://researchengineering-agi-assistant.hf.space,http://127.0.0.1:7860,http://localhost:7860
|
| 48 |
ENV OPENCLAW_TRUSTED_PROXIES=127.0.0.1,::1
|
|
|
|
| 42 |
ENV OPENCLAW_ONBOARD_NONINTERACTIVE=0
|
| 43 |
ENV OPENCLAW_CUSTOM_BASE_URL=https://researchengineering-agi.hf.space/v1
|
| 44 |
ENV OPENCLAW_CUSTOM_MODEL_ID=deepseek-chat
|
| 45 |
+
ENV OPENCLAW_CUSTOM_PROVIDER_ID=researchengineering-agi-hf-space
|
| 46 |
+
ENV OPENCLAW_CUSTOM_COMPATIBILITY=anthropic
|
| 47 |
ENV OPENCLAW_GATEWAY_BIND=lan
|
| 48 |
+
ENV OPENCLAW_BOOTSTRAP_ONBOARD=1
|
| 49 |
ENV OPENCLAW_CONTROL_UI_BASE_PATH=/openclaw
|
| 50 |
ENV OPENCLAW_ALLOWED_ORIGINS=https://researchengineering-agi-assistant.hf.space,http://127.0.0.1:7860,http://localhost:7860
|
| 51 |
ENV OPENCLAW_TRUSTED_PROXIES=127.0.0.1,::1
|
supervisord.conf
CHANGED
|
@@ -5,7 +5,7 @@ pidfile=/tmp/supervisord.pid
|
|
| 5 |
user=root
|
| 6 |
|
| 7 |
[program:openclaw]
|
| 8 |
-
command=/bin/sh -lc "GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND:-lan}; 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 "GATEWAY_BIND=${OPENCLAW_GATEWAY_BIND:-lan}; AUTH_FILE_MAIN=/app/.openclaw/state/agents/main/agent/auth-profiles.json; ONBOARD_MARKER=/app/.openclaw/state/.onboard_custom_done; if [ \"${OPENCLAW_BOOTSTRAP_ONBOARD:-1}\" = \"1\" ] && [ ! -s \"$AUTH_FILE_MAIN\" ] && [ ! -f \"$ONBOARD_MARKER\" ]; then echo '[onboard] bootstrapping custom provider'; 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}\" --custom-provider-id \"${OPENCLAW_CUSTOM_PROVIDER_ID:-researchengineering-agi-hf-space}\" --custom-compatibility \"${OPENCLAW_CUSTOM_COMPATIBILITY:-anthropic}\" --gateway-port 18789 --gateway-bind \"$GATEWAY_BIND\" --skip-skills --accept-risk --secret-input-mode plaintext || true; touch \"$ONBOARD_MARKER\"; 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
|