19 lines
653 B
YAML
19 lines
653 B
YAML
services:
|
|
whisper-streaming:
|
|
image: ghcr.io/ufal/whisper_streaming:latest
|
|
container_name: whisper-live-stream
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8071:8000" # WebSocket port for the streaming client
|
|
environment:
|
|
- MODEL=base # Options: tiny, base, small, medium (base is best balance for 13700K)
|
|
- LANGUAGE=en # Hardcoding to English reduces processing lag
|
|
- COMPUTE_TYPE=int8 # Optimizes the model for rapid CPU integer math
|
|
- THREADS=4 # Restricts execution to 4 performance cores to protect host OS
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|