@@ -10,7 +10,7 @@ services:
|
||||
environment:
|
||||
- FLASK_APP=app.py
|
||||
- FLASK_ENV=production
|
||||
- DATABASE_URL=postgresql://postgres:postgres@db:${DB_PORT:-5432}/docupulse_${PORT:-10335}
|
||||
- DATABASE_URL=postgresql://postgres:postgres@db:5432/docupulse_${PORT:-10335}
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=docupulse_${PORT:-10335}
|
||||
@@ -37,8 +37,6 @@ services:
|
||||
|
||||
db:
|
||||
image: postgres:13
|
||||
ports:
|
||||
- "${DB_PORT:-5432}:5432"
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
|
||||
Reference in New Issue
Block a user