Files
crabwalk/docker-compose.yml
T
Luciano Castillo eabebfd761 support ALLOWED_HOSTS env var, fix Dockerfile missing source files (#12)
- parse ALLOWED_HOSTS into vite server.allowedHosts for LAN/tailscale access
- copy src/, public/, vite.config.ts, tsconfig.json into Docker runtime stage
  (dev server needs these, only dist/ was copied before)
- pass ALLOWED_HOSTS through docker-compose

Ref #10
2026-01-28 12:21:06 -05:00

10 lines
231 B
YAML

services:
crabwalk:
image: ghcr.io/luccast/crabwalk:latest
ports:
- "3000:3000"
environment:
- CLAWDBOT_API_TOKEN=${CLAWDBOT_API_TOKEN}
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-}
restart: unless-stopped