tr / docker-compose.yml
bipulsardar091-glitch
Deploy Kokoro TTS OpenAI Compatible API with Docker CPU
a4a0365
Raw History Blame Contribute Delete
477 Bytes
services:
kokoro-tts:
build:
context: .
dockerfile: Dockerfile
image: kokoro-tts-openai:latest
container_name: kokoro-tts-openai
restart: unless-stopped
ports:
- "7860:7860"
environment:
- PORT=7860
- DEFAULT_VOICE=af_heart
- API_KEY= # Optional: set a Bearer token/secret to require authentication
volumes:
- kokoro-cache:/home/user/.cache/huggingface
volumes:
kokoro-cache:
name: kokoro_hf_cache