AW: theCure

This commit is contained in:
2025-08-27 19:15:08 +02:00
commit 5eab37082c
32 changed files with 1188 additions and 0 deletions

35
docker-compose.yml Normal file
View File

@@ -0,0 +1,35 @@
version: "3.9"
services:
db:
image: postgres:15
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- dbdata:/var/lib/postgresql/data
backend:
build: ./backend
environment:
DATABASE_URL: postgresql+asyncpg://postgres:postgres@db:5432/postgres
depends_on:
- db
ports:
- "8000:8000"
frontend:
working_dir: /app
image: node:20
command: sh -c "npm i && npx nuxt dev -p 3000 -H 0.0.0.0"
volumes:
- ./frontend:/app
ports:
- "3000:3000"
depends_on:
- backend
volumes:
dbdata: