Files
openclaw/docker-compose.yml
2026-02-20 16:49:22 -05:00

54 lines
1.2 KiB
YAML

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:-}
TAILSCALE_AUTH_KEY: ${TAILSCALE_AUTH_KEY:-}
volumes:
- openclaw-config:/home/node/.openclaw
- openclaw-workspace:/home/node/.openclaw/workspace
ports:
- "${OPENCLAW_GATEWAY_PORT:-18789}:18789"
- "${OPENCLAW_BRIDGE_PORT:-18790}:18790"
privileged: true
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:
networks:
dokploy-network:
external: true