fitness-web/docker-compose.yml
Jacob Hinkle 5584022a23 Single-container AI coach with agent API endpoints and UI polish
- Merge opencode-serve into the web container via entrypoint script
- Add /api/agent/* JSON endpoints for workouts, sets, checkins
- Rewrite fitness-trainer.md to use API instead of markdown files
- Pass recent workouts and check-ins as chat context to the coach
- Show current training phase on dashboard
- Clarify check-ins as morning check-ins (calories/steps = yesterday)
- Add NixOS deployment section to README
- Make all check-in fields explicitly optional in UI
2026-06-29 10:50:01 -04:00

12 lines
270 B
YAML

services:
fitness-web:
build: .
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./opencode:/root/.config/opencode
environment:
- SESSION_SECRET=change-me-in-production
- AGENT_API_KEY=dev-agent-key-change-in-production