New commit with working container containing functional flask running

This commit is contained in:
Henrik Corneliussen
2026-05-06 23:24:57 +02:00
parent ebcd2d5e43
commit d7544c2156
3 changed files with 37 additions and 3 deletions

18
compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
flask:
build: .
ports:
- "5001:5000"
environment:
DATABASE_URL: postgresql://postgres:postgres@db:5432/flaskdb
depends_on:
- db
db:
image: postgres:16
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: flaskdb
ports:
- "5432:5432"