2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-31 01:57:22 +01:00

add speaches

This commit is contained in:
kevin
2025-03-09 23:48:54 +08:00
parent 9315d6644e
commit bf2fc0e012
3 changed files with 24 additions and 1 deletions

9
speaches/README.md Normal file
View File

@@ -0,0 +1,9 @@
speaches
========
[speaches][1] is an OpenAI API-compatible server supporting streaming
transcription, translation, and speech generation. Speach-to-Text is powered by
faster-whisper and for Text-to-Speech piper and Kokoro are used. This project
aims to be Ollama, but for TTS/STT models.
[1]: https://github.com/speaches-ai/speaches

View File

@@ -0,0 +1,14 @@
services:
speaches:
image: ghcr.io/speaches-ai/speaches:latest-cpu
ports:
- "8000:8000"
volumes:
- ./data:/home/ubuntu/.cache/huggingface/hub
healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
restart: unless-stopped