Fix whisper compose healthcheck
This commit is contained in:
@@ -5,3 +5,4 @@ dist/
|
|||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
.worktrees/
|
.worktrees/
|
||||||
|
whisper-models/
|
||||||
|
|||||||
+1
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user