Add whisper docker dependency status to gateway dashboard
This commit is contained in:
+31
-21
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user