Revert docker-compose to direct uvicorn (no nginx)

Keep nginx only for production (Fly.io). Local dev uses uvicorn
directly for simpler hot-reloading.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-30 02:08:14 -05:00
parent ad5a1e6c64
commit a66f457747
+3 -21
View File
@@ -1,20 +1,8 @@
services:
nginx:
image: nginx:alpine
ports:
- "8000:8000"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./kjvstudy_org/static:/app/kjvstudy_org/static:ro
depends_on:
web:
condition: service_healthy
restart: unless-stopped
web:
build: .
expose:
- "8001"
ports:
- "8000:8000"
volumes:
- .:/app
- /app/.venv
@@ -23,10 +11,4 @@ services:
- PRELOAD_INTERLINEAR=true
- DISABLE_ANALYTICS=true
restart: unless-stopped
command: uv run uvicorn kjvstudy_org.server:app --host 0.0.0.0 --port 8001 --reload --reload-include '*.json'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/api/health"]
interval: 5s
timeout: 5s
retries: 10
start_period: 10s
command: uv run uvicorn kjvstudy_org.server:app --host 0.0.0.0 --port 8000 --reload --reload-include '*.json'