version: "3.8" services: openclaw-gateway: build: context: ./docker dockerfile: Dockerfile platforms: - linux/arm64 image: openclaw:custom-arm64 container_name: openclaw-gateway restart: unless-stopped environment: HOME: /home/node TERM: xterm-256color OPENCLAW_GATEWAY_TOKEN: ${OPENCLAW_GATEWAY_TOKEN} MOONSHOT_API_KEY: ${MOONSHOT_API_KEY} GOG_ACCOUNT: ${GOG_ACCOUNT:-} volumes: - openclaw-config:/home/node/.openclaw - openclaw-workspace:/home/node/.openclaw/workspace - gog-data:/home/node/.openclaw/gog ports: - "${OPENCLAW_GATEWAY_PORT:-18789}:18789" - "${OPENCLAW_BRIDGE_PORT:-18790}:18790" init: true networks: - dokploy-network command: [ "node", "dist/index.js", "gateway", "--bind", "${OPENCLAW_GATEWAY_BIND:-lan}", "--port", "18789", ] healthcheck: test: ["CMD", "healthcheck.sh"] interval: 30s timeout: 10s retries: 3 start_period: 30s volumes: openclaw-config: openclaw-workspace: gog-data: networks: dokploy-network: external: true