# Docker Compose for Agent Evolution Dashboard # Usage: docker-compose -f docker-compose.evolution.yml up -d version: '3.8' services: evolution-dashboard: build: context: . dockerfile: agent-evolution/Dockerfile target: production container_name: apaw-evolution ports: - "3001:3001" volumes: # Mount data directory for live updates - ./agent-evolution/data:/app/data:ro # Mount for reading source files (optional, for sync) - ./.kilo/agents:/app/kilo/agents:ro - ./.kilo/capability-index.yaml:/app/kilo/capability-index.yaml:ro - ./.kilo/kilo.jsonc:/app/kilo/kilo.jsonc:ro environment: - NODE_ENV=production - TZ=UTC restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3001/"] interval: 30s timeout: 10s retries: 3 start_period: 10s networks: - evolution-network labels: - "com.apaw.service=evolution-dashboard" - "com.apaw.description=Agent Evolution Dashboard" # Optional: Nginx reverse proxy with SSL evolution-nginx: image: nginx:alpine container_name: apaw-evolution-nginx profiles: - nginx ports: - "80:80" - "443:443" volumes: - ./agent-evolution/nginx.conf:/etc/nginx/nginx.conf:ro - ./agent-evolution/ssl:/etc/nginx/ssl:ro depends_on: - evolution-dashboard networks: - evolution-network networks: evolution-network: driver: bridge