- 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
12 lines
270 B
YAML
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
|