mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 15:35:24 +02:00
* feat: Add Kokoro TTS FastAPI template (#353) - Add CPU-optimized docker-compose.yml with source build - Add GPU-optimized docker-compose-gpu.yml for NVIDIA support - Add comprehensive template.toml with OpenAI-compatible API docs - Add kokoro-tts.svg logo and meta.json entry - Support streaming audio, timestamps, and multi-language TTS - Resolves #353 * updated the meta.json for the build errors * removed the docker-compose-gpu.yml file * Update docker-compose.yml --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
24 lines
547 B
YAML
24 lines
547 B
YAML
services:
|
|
kokoro-tts:
|
|
build:
|
|
context: https://github.com/remsky/Kokoro-FastAPI.git#master
|
|
dockerfile: docker/cpu/Dockerfile
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8880
|
|
environment:
|
|
- MODEL_PATH=/app/models
|
|
- DEVICE=${DEVICE:-cpu}
|
|
- HOST=0.0.0.0
|
|
- PORT=8880
|
|
volumes:
|
|
- kokoro-models:/app/models
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8880/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 60s
|
|
volumes:
|
|
kokoro-models:
|