diff --git a/whisper/compose.yaml b/whisper/compose.yaml new file mode 100644 index 0000000..4b67735 --- /dev/null +++ b/whisper/compose.yaml @@ -0,0 +1,18 @@ +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" +