diff --git a/.gitignore b/.gitignore index 66f85f9..fb89dee 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ dist/ .env.* !.env.example .worktrees/ -whisper-models/ diff --git a/config/default.yaml b/config/default.yaml index 56187a1..b37a7e3 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -172,5 +172,5 @@ audio: enabled: true provider: type: custom - endpoint: "http://localhost:18801/v1/audio/transcriptions" + endpoint: "http://whisper-server:8080/v1/audio/transcriptions" model: "whisper-1" diff --git a/docker-compose.yml b/docker-compose.yml index 234d650..019152f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,5 @@ +version: '3.9' + services: flynn: build: . @@ -53,7 +55,7 @@ services: volumes: - ./whisper-models:/app/models:ro healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/"] + test: ["CMD-SHELL", "curl", "-f", "http://localhost:8080/"] interval: 30s timeout: 5s start_period: 15s