openai: add adolf (OpenClaw fork) gateway service skeleton
New 'adolf' service builds ../../adolf (the OpenClaw fork), runs the gateway (node dist/index.js gateway --bind lan --port 18789) with persistent adolf-state volume. Skeleton only; Matrix/SOUL.md/model-provider config wired in P6. Existing services untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
This commit is contained in:
@@ -121,5 +121,39 @@ services:
|
|||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Adolf — OpenClaw fork (Matrix-first personal assistant). Skeleton only:
|
||||||
|
# real config (Matrix channel, SOUL.md, model provider -> adolf-llm:8010) is
|
||||||
|
# wired in P6. Not started until its config/keys exist. Source: /home/alvis/adolf.
|
||||||
|
adolf:
|
||||||
|
build: ../../adolf
|
||||||
|
image: adolf:local
|
||||||
|
container_name: adolf
|
||||||
|
environment:
|
||||||
|
- HOME=/home/node
|
||||||
|
- OPENCLAW_HOME=/home/node
|
||||||
|
- OPENCLAW_STATE_DIR=/home/node/.openclaw
|
||||||
|
- OPENCLAW_CONFIG_PATH=/home/node/.openclaw/openclaw.json
|
||||||
|
- OPENCLAW_CONFIG_DIR=/home/node/.openclaw
|
||||||
|
- OPENCLAW_WORKSPACE_DIR=/home/node/.openclaw/workspace
|
||||||
|
- OPENCLAW_GATEWAY_TOKEN=${ADOLF_GATEWAY_TOKEN:-}
|
||||||
|
- TZ=Europe/Riga
|
||||||
|
volumes:
|
||||||
|
- adolf-state:/home/node/.openclaw
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
cap_drop:
|
||||||
|
- NET_RAW
|
||||||
|
- NET_ADMIN
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
init: true
|
||||||
|
ports:
|
||||||
|
- "18789:18789"
|
||||||
|
- "18790:18790"
|
||||||
|
command:
|
||||||
|
["node", "dist/index.js", "gateway", "--bind", "lan", "--port", "18789"]
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
kimi-agent-home:
|
kimi-agent-home:
|
||||||
|
adolf-state:
|
||||||
|
|||||||
Reference in New Issue
Block a user