containerize and add basic setup to backend

This commit is contained in:
2025-07-16 10:13:09 +01:00
parent faabae9ee0
commit a674f5641d
11 changed files with 256 additions and 4 deletions

22
docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
services:
ui:
build: ./ui
ports:
- "5173:5173"
backend:
build: ./backend
#ports:
#- "7000:7000"
db:
image: postgres:17-alpine
ports:
- "5432:5432"
environment:
POSTGRES_DB: nuchat
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data: