added docker compose for easy setup

This commit is contained in:
nvrl committed 2026-02-15 21:26:38 +01:00
1 parent 0ed8fc9ac0
commit b634b050e5
8 files changed
+115 -6

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
version: '3.8'
services:
backend:
build:
context: ./backend
ports:
- "8000:8000"
volumes:
- ./backend:/app
environment:
- PYTHONUNBUFFERED=1
frontend:
build:
context: ./frontend
ports:
- "5173:5173"
volumes:
- ./frontend:/app
- /app/node_modules # Prevents host node_modules from overwriting container
depends_on:
- backend
volumes:
db_data: # Persist the database