You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2026. It is now read-only.
Configure both services exclusively via environment variables
API server (exercisediary-api):
- Replace conf.Get(file) with conf.GetFromEnv() — no config file required at startup
- PORT, HOST, THEME, COLOR, HEATCOLOR, PAGESTEP, AUTH* read from env vars
- API_KEY read from env var (replaces -k flag)
- DATA_DIR env var sets the data directory; -d flag still overrides it
- conf.Write() is now a no-op when ConfPath is empty (env-var mode)
- Removed -p and -k flags from cmd/api
Frontend server (exercisediary-frontend):
- Removed all flags; configuration is 100% env vars
- PORT, API_URL, API_KEY, NODE_PATH env vars with sensible defaults
docker-compose.yml / docker-compose-local.yml:
- All env vars documented inline with commented examples for optional settings
README:
- Split configuration section into per-service env var tables
- Update quick-start docker run example to use -e instead of flags
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments