version: '3.8' services: openclaw-dashboard: build: context: . dockerfile: Dockerfile container_name: openclaw-dashboard restart: unless-stopped ports: - "3000:3000" volumes: # Persist SQLite database - ./data:/app/data # Mount OpenClaw config (read-only) - /home/ai/.openclaw:/home/ai/.openclaw:ro # Mount socket for openclaw CLI access - /var/run/docker.sock:/var/run/docker.sock environment: - NODE_ENV=production - PORT=3000 network_mode: host # For Tailscale, comment out network_mode: host and use: # networks: # - tailscale networks: tailscale: external: true