26 lines
929 B
YAML
26 lines
929 B
YAML
services:
|
|
whisper-live:
|
|
image: hwdsl2/whisper-live-server:latest
|
|
container_name: whisper-live
|
|
restart: unless-stopped
|
|
ports:
|
|
- "9097:9090" # WebSocket — real-time streaming clients
|
|
- "8071:8000" # REST API — OpenAI-compatible /v1/audio/transcriptions
|
|
volumes:
|
|
- whisper-live-data:/var/lib/whisper-live # persists downloaded models
|
|
env_file:
|
|
- whisper-live.env
|
|
# --- ADDED FOR INTEL iGPU PASSTHROUGH ---
|
|
devices:
|
|
- /dev/dri/renderD128:/dev/dri/renderD128
|
|
- /dev/dri/card1:/dev/dri/card1
|
|
# ----------------------------------------
|
|
|
|
# The 13700K has 8 P-cores; give the container access to all of them.
|
|
# Adjust cpuset if you want to reserve cores for other workloads.
|
|
cpuset: "0-15" # all 16 logical P-core threads
|
|
mem_limit: 6g # medium int8 needs ~2 GB; headroom for concurrency
|
|
|
|
volumes:
|
|
whisper-live-data:
|