add basic backend

This commit is contained in:
2025-07-21 17:08:30 +01:00
parent d0ca82972f
commit 50d094be8f
14 changed files with 2714 additions and 2 deletions

16
docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
services:
backend:
build: ./backend
ports:
- "7000:7000"
command: --host 0.0.0.0
depends_on:
- db
db:
image: postgres:17-alpine
environment:
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_DB: nuchat
ports:
- "5432:5432"