Fix whisper compose healthcheck

This commit is contained in:
William Valentin
2026-02-13 22:52:44 -08:00
parent 5f833e84a6
commit 93991dd685
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -5,3 +5,4 @@ dist/
.env.* .env.*
!.env.example !.env.example
.worktrees/ .worktrees/
whisper-models/
+1 -1
View File
@@ -172,5 +172,5 @@ audio:
enabled: true enabled: true
provider: provider:
type: custom type: custom
endpoint: "http://whisper-server:8080/v1/audio/transcriptions" endpoint: "http://localhost:18801/v1/audio/transcriptions"
model: "whisper-1" model: "whisper-1"
+1 -3
View File
@@ -1,5 +1,3 @@
version: '3.9'
services: services:
flynn: flynn:
build: . build: .
@@ -55,7 +53,7 @@ services:
volumes: volumes:
- ./whisper-models:/app/models:ro - ./whisper-models:/app/models:ro
healthcheck: healthcheck:
test: ["CMD-SHELL", "curl", "-f", "http://localhost:8080/"] test: ["CMD", "curl", "-f", "http://localhost:8080/"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
start_period: 15s start_period: 15s