Initial commit: Nat20 Notes — TTRPG session transcription & summarization

This commit is contained in:
KansaiGaijin
2026-07-06 23:45:54 +12:00
commit 524c8ab96d
50 changed files with 2969 additions and 0 deletions

44
docker-compose.yml Normal file
View File

@@ -0,0 +1,44 @@
services:
backend:
build: ./backend
restart: unless-stopped
environment:
# Prefill the setup wizard — uncomment and set your values:
NAT20_HF_TOKEN: "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"
NAT20_WHISPER_MODEL: medium
NAT20_WHISPER_COMPUTE_TYPE: int8
NAT20_OLLAMA_HOST: http://192.168.0.16:11434
NAT20_OLLAMA_MODEL: qwen2.5:7b
# NAT20_API_BASE_URL: https://api.openai.com/v1
# NAT20_API_KEY: ""
# NAT20_API_MODEL: gpt-4o-mini
# NAT20_CHUNK_WORD_TARGET: "2500"
# NAT20_WORLD_CONTEXT: "" # Add a string of context OR
# NAT20_WORLD_CONTEXT_PATH: /data/campaign-context.txt # Link to a document of context
volumes:
- /mnt/media/media/dnd-sessions:/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: