- Add apaw-state-api Flask service (landing/api/server.py) that serves agent fit scores, best models, and explanations from real-fit.db - Add nginx proxy rule: /api/state → apaw-state-api:8080 - Add fit-score drill-down modal (click heatmap cell → score breakdown + explanation) in api.js, styles.css, and index.html - Add real-fit-recalc.py script for offline score recalculation from stored SQLite responses - Add real-fit-engine.py (evaluation engine) and sync-dashboard-data.py - Add Dockerfile ENTRYPOINT + entrypoint.sh for landing container - Add docker-compose.ollama.yml for local Ollama inference - Update kilo.jsonc command models and agent-versions.json - Regenerate index.standalone.html with latest dashboard data - Add .gitignore entries for __pycache__, runtime data, and backups
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
apaw-landing:
|
|
image: landing-apaw-landing:latest
|
|
container_name: apaw-landing
|
|
ports:
|
|
- "3002:80"
|
|
volumes:
|
|
# Live reload: landing files
|
|
- ../landing:/usr/share/nginx/html
|
|
# Live reload: agent configs for real-time model display
|
|
- ../.kilo:/usr/share/nginx/html/.kilo:ro
|
|
# Generated real-state JSON for dynamic agent table
|
|
- ../agent-evolution/data:/usr/share/nginx/html/data:ro
|
|
# Landing API server
|
|
- ../landing/api:/usr/share/nginx/html/api:ro
|
|
# Runtime override: hot-reload nginx config from host without rebuild
|
|
- ../landing/nginx-landing.conf:/etc/nginx/conf.d/default.conf:ro
|
|
restart: unless-stopped
|
|
networks:
|
|
- apaw-landing-net
|
|
|
|
apaw-state-api:
|
|
image: python:3.12-alpine
|
|
container_name: apaw-state-api
|
|
working_dir: /usr/src/app
|
|
volumes:
|
|
# API server
|
|
- ../landing/api:/usr/src/app/api:ro
|
|
# Real-time agent configs
|
|
- ../.kilo:/usr/src/app/.kilo:ro
|
|
# Evolution data
|
|
- ../agent-evolution/data:/usr/src/app/data:ro
|
|
command: ["python3", "api/server.py"]
|
|
restart: unless-stopped
|
|
networks:
|
|
- apaw-landing-net
|
|
|
|
networks:
|
|
apaw-landing-net:
|
|
driver: bridge
|