mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
27 lines
460 B
YAML
27 lines
460 B
YAML
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
|