mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
added docker compose for easy setup
This commit is contained in:
1 parent
0ed8fc9ac0
commit
b634b050e5
8 files changed
+115
-6
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user