mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 06:46:13 +00:00
cfbfc5417c
Production-ready configuration for fly.io with enhanced resource allocation, health checks, and error handling for the comprehensive interlinear Bible. Changes: - Increase memory to 2GB to handle 139MB uncompressed interlinear data - Add concurrency limits (200 soft, 250 hard) - Configure health checks at /health endpoint - Enhanced .dockerignore to exclude large uncompressed files - Production logging in interlinear_loader with error handling - Auto-scaling configuration (stop on idle, start on request) - Comprehensive deployment documentation Performance optimizations: - Compressed data: 13.5 MB in image - Memory usage: ~400-500 MB (with 2GB allocated) - Cold start: ~5-10 seconds (including data load) - Warm requests: <100ms 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
434 B
Plaintext
48 lines
434 B
Plaintext
# Fly.io
|
|
fly.toml
|
|
|
|
# Git
|
|
.git/
|
|
.gitignore
|
|
.gitattributes
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
.venv/
|
|
env/
|
|
venv/
|
|
|
|
# Environment
|
|
.envrc
|
|
.env
|
|
.env.local
|
|
|
|
# Development
|
|
.DS_Store
|
|
.idea
|
|
.vscode
|
|
*.swp
|
|
*.log
|
|
|
|
# Testing
|
|
.pytest_cache
|
|
.coverage
|
|
htmlcov/
|
|
|
|
# Docker
|
|
docker-compose.yml
|
|
Dockerfile
|
|
|
|
# Documentation
|
|
*.md
|
|
!README.md
|
|
|
|
# Large uncompressed data (we use the .gz version)
|
|
kjvstudy_org/interlinear_data.py
|
|
|
|
# Temporary
|
|
tmp/
|
|
*.tmp
|