mirror of
https://github.com/Tony0410/readlater.git
synced 2026-05-24 13:52:03 +08:00
Enable Kokoro TTS in docker-compose
Uses ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.1 for high-quality TTS. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,21 +10,12 @@ services:
|
||||
environment:
|
||||
- DATABASE_PATH=/app/data/readlater.db
|
||||
|
||||
# Optional: Kokoro TTS for high-quality text-to-speech
|
||||
# Uncomment if you want to use Kokoro instead of browser TTS
|
||||
# kokoro:
|
||||
# image: ghcr.io/remsky/kokoro-fastapi:latest
|
||||
# container_name: kokoro-tts
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - "8880:8880"
|
||||
# environment:
|
||||
# - PYTHONUNBUFFERED=1
|
||||
# # GPU support (optional, for faster inference)
|
||||
# # deploy:
|
||||
# # resources:
|
||||
# # reservations:
|
||||
# # devices:
|
||||
# # - driver: nvidia
|
||||
# # count: 1
|
||||
# # capabilities: [gpu]
|
||||
# Kokoro TTS for high-quality text-to-speech
|
||||
kokoro:
|
||||
image: ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.1
|
||||
container_name: kokoro-tts
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8880:8880"
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
|
||||
Reference in New Issue
Block a user