Add whisper docker dependency status to gateway dashboard

This commit is contained in:
William Valentin
2026-02-22 19:20:09 -08:00
parent d4a13e3c71
commit 8fcbb5f521
11 changed files with 559 additions and 24 deletions
+31 -21
View File
@@ -30,27 +30,37 @@ services:
start_period: 15s
retries: 3
# Optional: Whisper server for audio transcription
# Uncomment and adjust as needed for voice message support
# whisper-server:
# image: ghcr.io/ggml-org/whisper.cpp:main
# container_name: whisper-server
# restart: unless-stopped
# ports:
# - "18801:8080"
# command: whisper-server
# --model /app/models/ggml-base.en.bin
# --host 0.0.0.0
# --port 8080
# --convert
# --language en
# --inference-path /v1/audio/transcriptions
# healthcheck:
# test: ["CMD-SHELL", "curl", "-f", "http://localhost:8080/"]
# interval: 30s
# timeout: 5s
# start_period: 15s
# retries: 3
# Optional local dependency: whisper.cpp server for audio transcription.
# Start with: docker compose --profile voice up -d whisper-server
whisper-server:
image: ghcr.io/ggml-org/whisper.cpp:main
container_name: whisper-server
restart: unless-stopped
profiles: ["voice"]
ports:
- "18801:8080"
volumes:
- whisper-models:/app/models
command:
- whisper-server
- --model
- /app/models/ggml-base.en.bin
- --host
- 0.0.0.0
- --port
- "8080"
- --convert
- --language
- en
- --inference-path
- /v1/audio/transcriptions
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/ >/dev/null 2>&1 || exit 1"]
interval: 30s
timeout: 5s
start_period: 15s
retries: 3
volumes:
flynn-data:
whisper-models: