From a66f457747cfb3838c36ff2940839db38d84e6fb Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 30 Nov 2025 02:08:14 -0500 Subject: [PATCH] Revert docker-compose to direct uvicorn (no nginx) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker-compose.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 29aa7e2..e4d7b3f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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'