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