containerize and add basic setup to backend
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user