Files
APAW/landing/entrypoint.sh
Deploy Bot dbbf4c32e1 feat(landing): add state API service with real-fit score drill-down
- 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
2026-05-27 19:53:40 +01:00

13 lines
301 B
Bash
Executable File

#!/bin/sh
# Entrypoint for landing container — runs both nginx and state-api
# Start state-api in background
python3 /usr/share/nginx/html/api/server.py &
API_PID=$!
# Start nginx in foreground (replaces this shell)
nginx -g 'daemon off;'
# If nginx exits, kill the API
kill $API_PID 2>/dev/null