Initial commit: Nat20 Notes — TTRPG session transcription & summarization
This commit is contained in:
33
docker-compose.example.yml
Normal file
33
docker-compose.example.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# Example Docker Compose — uses a named volume so data persists across rebuilds
|
||||
# without needing a specific host path. Copy to docker-compose.yml and customise.
|
||||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- app_data:/data
|
||||
- hf_cache:/root/.cache/huggingface
|
||||
- torch_cache:/root/.cache/torch
|
||||
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- backend
|
||||
ports:
|
||||
- "8020:8020"
|
||||
|
||||
volumes:
|
||||
app_data:
|
||||
hf_cache:
|
||||
torch_cache:
|
||||
Reference in New Issue
Block a user