CLAUDE: Comment out API service - prevents race condition in db_engine.py

- db_engine.py calls db.create_tables() at import time
- Multiple gunicorn workers cause duplicate key violations
- Run API locally for better development experience
- Keeps postgres and adminer services only
This commit is contained in:
Cal Corum 2025-11-07 14:07:13 -06:00
parent e9f70b7ed0
commit cac8e7d126

View File

@ -39,6 +39,8 @@ services:
# Paper Dynasty API (optional - can run locally with 'uvicorn app.main:app --reload')
# Uncomment this section if you want to run the API in Docker
# IMPORTANT: db_engine.py calls db.create_tables() at import time which causes
# race conditions with multiple gunicorn workers. Run API locally for now.
# api:
# build: .
# restart: unless-stopped