services: openclaw-gateway: image: ghcr.io/openclaw/openclaw:latest container_name: openclaw-gateway restart: unless-stopped labels: - "com.centurylinklabs.watchtower.enable=true" ports: - "127.0.0.1:3100:18789" environment: HOME: /home/node TERM: xterm-256color OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN} ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY} TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:-} volumes: - ./data:/home/node/.openclaw init: true command: [ "node", "dist/index.js", "gateway", "--bind", "lan", "--port", "18789", "--allow-unconfigured", ] healthcheck: test: ["CMD", "node", "-e", "fetch('http://localhost:18789').then(r=>{process.exit(r.ok?0:1)}).catch(()=>process.exit(1))"] interval: 30s timeout: 5s retries: 3 logging: driver: json-file options: max-size: "10m" max-file: "3"