Fix whisper compose healthcheck
This commit is contained in:
@@ -5,3 +5,4 @@ dist/
|
||||
.env.*
|
||||
!.env.example
|
||||
.worktrees/
|
||||
whisper-models/
|
||||
|
||||
+1
-1
@@ -172,5 +172,5 @@ audio:
|
||||
enabled: true
|
||||
provider:
|
||||
type: custom
|
||||
endpoint: "http://whisper-server:8080/v1/audio/transcriptions"
|
||||
endpoint: "http://localhost:18801/v1/audio/transcriptions"
|
||||
model: "whisper-1"
|
||||
|
||||
+1
-3
@@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
flynn:
|
||||
build: .
|
||||
@@ -55,7 +53,7 @@ services:
|
||||
volumes:
|
||||
- ./whisper-models:/app/models:ro
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl", "-f", "http://localhost:8080/"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 15s
|
||||
|
||||
Reference in New Issue
Block a user