Files
containers/whisper/compose.yaml
T

36 lines
847 B
YAML

services:
whisper-live:
image: whisper-live-diarization:latest
container_name: whisper-live
restart: unless-stopped
ports:
- "9097:9090"
volumes:
- whisper-live-data:/var/lib/whisper-live
- whisper-pyannote-cache:/root/.cache/huggingface/hub
env_file:
- whisper-live.env # contains HUGGING_FACE_HUB_TOKEN — not in git
command:
- "python3"
- "run_server.py"
- "--port"
- "9090"
- "--backend"
- "openvino"
- "--omp_num_threads"
- "4"
- "--max_clients"
- "1"
- "--max_connection_time"
- "7200"
- "--raw_pcm_input"
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card1:/dev/dri/card1
cpuset: "0-7"
mem_limit: 10g
volumes:
whisper-live-data:
whisper-pyannote-cache: