From 546d3b943821a3be2198756d2637f285ff3c6771 Mon Sep 17 00:00:00 2001 From: alvis Date: Sun, 5 Jul 2026 09:41:01 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2 --- openai/docker-compose.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/openai/docker-compose.yml b/openai/docker-compose.yml index 4b44325..abcd54a 100644 --- a/openai/docker-compose.yml +++ b/openai/docker-compose.yml @@ -121,5 +121,39 @@ services: - "host.docker.internal:host-gateway" 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: kimi-agent-home: + adolf-state: