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:
parent
e9f70b7ed0
commit
cac8e7d126
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user