This commit is contained in:
2025-06-04 08:25:23 +02:00
parent 12ecaef5d1
commit 366dba2f17
2 changed files with 22 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ version: '3.8'
services:
web:
build:
context: .
context: https://git.kobeamerijckx.com/Kobe/docupulse
dockerfile: Dockerfile
command: gunicorn --bind 0.0.0.0:5000 app:app
ports:
@@ -11,6 +11,7 @@ services:
environment:
- FLASK_APP=app.py
- FLASK_ENV=production
- PYTHONPATH=/app
- DATABASE_URL=postgresql://postgres:postgres@db:5432/docupulse
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
@@ -73,6 +74,7 @@ services:
environment:
- FLASK_APP=app.py
- FLASK_ENV=production
- PYTHONPATH=/app
- DATABASE_URL=postgresql://postgres:postgres@db:5432/docupulse
- REDIS_URL=redis://redis:6379/0
depends_on: