Update docker-compose.yml

This commit is contained in:
2025-05-22 19:54:40 +02:00
parent 88d410005f
commit 34f95c1d1d

View File

@@ -8,6 +8,23 @@ services:
environment:
- FLASK_APP=app.py
- FLASK_ENV=production
- DATABASE_URL=postgresql://postgres:postgres@db:5432/verpotjelot
volumes:
- .:/app
depends_on:
- db
restart: unless-stopped
db:
image: postgres:15
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=verpotjelot
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_data:
name: verpotjelot_postgres_data