Commit Graph

4 Commits

Author SHA1 Message Date
kennethreitz 1499110341 Make worker count configurable via WORKERS environment variable
- Read worker count from WORKERS env var (default: 4)
- Set WORKERS=4 in fly.toml for production
- Allows tuning worker count without code changes
- Can adjust via fly secrets set WORKERS=X
2025-11-28 00:50:57 -05:00
kennethreitz 1b7166b8af Add 4 workers to fully utilize performance CPUs and RAM
- Increase from 1 to 4 Uvicorn workers
- Better utilizes 2 CPU cores and 4GB RAM
- Improves concurrent request handling 4x
- Each worker ~200-400MB, leaves plenty of headroom for caching
2025-11-28 00:49:19 -05:00
kennethreitz d61c0fc5a5 Update Docker container to use FastAPI CLI directly
Remove package installation step and use FastAPI CLI with PYTHONPATH
for simpler container execution. Disable reload in main.py and include
static/templates as package data for proper distribution.
2025-05-26 13:12:08 -04:00
kennethreitz 920707ca24 Rename package from kjvstudy to kjvstudy_org and refactor for production deployment
Restructures the project for deployment with a more organized package
structure and enhanced web interface. Moves Bible data to package
static directory and adds comprehensive styling, JavaScript features,
and mobile responsiveness.
2025-05-26 12:54:34 -04:00