Files
live-voice-chat/docker-compose.yml
2026-04-08 11:40:59 -04:00

24 lines
595 B
YAML

services:
voice-chat:
build: .
ports:
- "8000:8000"
volumes:
# Cache models on the host so they survive container rebuilds
- huggingface-cache:/cache/huggingface
# Mount source so you can edit code/config without rebuilding the image
- ./config.yml:/app/config.yml:ro
- ./server:/app/server:ro
- ./static:/app/static:ro
- ./run.py:/app/run.py:ro
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
huggingface-cache: