This commit is contained in:
2026-05-07 23:18:34 +02:00
commit 07c58f23ab
39 changed files with 6044 additions and 0 deletions

35
docker-compose.yml Normal file
View File

@@ -0,0 +1,35 @@
services:
db:
image: docker.io/library/postgres:16-alpine
environment:
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_NAME}
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
interval: 5s
retries: 5
backend:
build: ./backend
env_file: .env
ports:
- "5000:5000"
depends_on:
db:
condition: service_healthy
frontend:
build: ./frontend
ports:
- "3001:3000"
depends_on:
- backend
volumes:
postgres_data: