We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b7e78 commit 63584bfCopy full SHA for 63584bf
docker-compose.yml
@@ -41,6 +41,9 @@ services:
41
- DEBUG=${DEBUG:-True}
42
- SECRET_KEY=${SECRET_KEY:-dev-secret-key-change-in-production}
43
- NASA_API_KEY=${NASA_API_KEY}
44
+ # IMPORTANT: backend/.env is mounted into /app and may define DATABASE_URL (sqlite) for local dev.
45
+ # Override it inside Docker so the container uses Postgres.
46
+ - DATABASE_URL=postgresql://${DB_USER:-postgres}:${DB_PASSWORD:-postgres}@db:5432/${DB_NAME:-personal_brand_hub}
47
- DB_NAME=${DB_NAME:-personal_brand_hub}
48
- DB_USER=${DB_USER:-postgres}
49
- DB_PASSWORD=${DB_PASSWORD:-postgres}
0 commit comments