Multi-stage backend Dockerfile (development/production), DB_* env vars, dev target pinning
This commit is contained in:
@@ -21,6 +21,9 @@ DATABASE_URL=sqlite+aiosqlite:///./data/app.db
|
||||
|
||||
# Production: PostgreSQL (uncomment and configure)
|
||||
# DATABASE_URL=postgresql+asyncpg://updater:secure-password@db:5432/insight_updater
|
||||
DB_NAME=insight_updater
|
||||
DB_USER=updater
|
||||
DB_PASSWORD=change-me-db-password
|
||||
|
||||
# =============================================================================
|
||||
# REDIS (for Socket.io pub/sub, caching, rate limiting)
|
||||
|
||||
Reference in New Issue
Block a user