Update docker-compose.yml

This commit is contained in:
2025-06-06 14:54:47 +02:00
parent 1cbfab0c2f
commit 30142f83df

View File

@@ -11,11 +11,11 @@ services:
environment: environment:
- FLASK_APP=app.py - FLASK_APP=app.py
- FLASK_ENV=production - FLASK_ENV=production
- DATABASE_URL=postgresql://postgres:postgres@db:5432/docupulse - 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 - POSTGRES_DB=docupulse_${PORT:-10335}
- MASTER=${ISMASTER:-fasle} - MASTER=${ISMASTER:-false}
volumes: volumes:
- docupulse_uploads:/app/uploads - docupulse_uploads:/app/uploads
depends_on: depends_on:
@@ -41,7 +41,7 @@ services:
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_DB=docupulse - POSTGRES_DB=docupulse_${PORT:-10335}
volumes: volumes:
- docupulse_postgres_data:/var/lib/postgresql/data - docupulse_postgres_data:/var/lib/postgresql/data
restart: unless-stopped restart: unless-stopped