2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-01 10:37:26 +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

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