- build-standalone-fixed.cjs: reads from 4 real sources (agents md, kilo-meta.json, model-benchmarks-verified.json, agent-versions.json); computes recommendations dynamically - build-standalone-direct.cjs: direct data export + HTML embed pipeline - dashboard-smoke-test.ts: Playwright E2E smoke test covering all 6 tabs - model-benchmarks-verified.json: verified IF scores from artificialanalysis.ai for 15 models (SWE-bench unverifiable → null) - agent-versions.json: 347 git history entries extracted for 34 agents - kilo-meta.json: prompt-optimizer → qwen3.5-122b, memory-manager → deepseek-v4-pro-max - index.html: Recommendations tab rendering updated for dynamic data - Dockerfile + docker-compose.yml: mount-driven build, no image rebuild for data changes - README.md: updated dashboard docs and verified benchmark sources
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
# Docker Compose for Agent Evolution Dashboard (mount-driven, no-rebuild)
|
|
# Usage:
|
|
# docker compose -f agent-evolution/docker-compose.yml up -d
|
|
# # Edit any file in agent-evolution/ or .kilo/ on host → instant reflection
|
|
# # Just run:
|
|
# bun run sync:evolution
|
|
# # and reload the page
|
|
#
|
|
version: '3.8'
|
|
|
|
services:
|
|
evolution-dashboard:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: apaw-evolution
|
|
ports:
|
|
- "3003:80"
|
|
volumes:
|
|
# Mount the generated standalone HTML to the container's web root
|
|
- ./index.standalone.html:/app/index.html:ro
|
|
# Mount data directory for any additional assets
|
|
- ./data:/app/data:ro
|
|
# Mount .kilo directory for live config access
|
|
- ../.kilo:/app/kilo:ro
|
|
environment:
|
|
- NODE_ENV=production
|
|
- TZ=UTC
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
|
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 |