mirror of
https://github.com/kennethreitz/kennethreitz.org.git
synced 2026-06-05 06:46:13 +00:00
Fix docker-compose.yml — correct module ref, remove Flask env vars
engine:app → engine:api to match Responder. Remove FLASK_ENV and DISABLE_ANALYTICS which were leftover from the Flask era. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-5
@@ -7,9 +7,5 @@ services:
|
||||
- ./data:/app/data
|
||||
- ./tuftecms:/app/tuftecms
|
||||
- ./engine.py:/app/engine.py
|
||||
environment:
|
||||
- FLASK_ENV=development
|
||||
- DISABLE_ANALYTICS=true
|
||||
restart: unless-stopped
|
||||
# Use uvicorn with auto-reload for development
|
||||
command: ["uvicorn", "engine:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "/app/tuftecms", "--reload-dir", "/app/data"]
|
||||
command: ["uvicorn", "engine:api", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "/app/tuftecms", "--reload-dir", "/app/data"]
|
||||
|
||||
Reference in New Issue
Block a user