Spaces:
Sleeping
Sleeping
File size: 547 Bytes
fc5156b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # Run the whole app (backend + frontend) with one command:
# docker compose up --build
# Then open http://localhost:5173
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8000:8000"
environment:
- ANSWER_MODE=extractive
- LOG_LEVEL=INFO
# Optional: persist the SQLite DB across restarts.
volumes:
- backend_data:/app/data
frontend:
build:
context: ./frontend
ports:
- "5173:80"
depends_on:
- backend
volumes:
backend_data:
|