mirror of
https://github.com/Tony0410/readlater.git
synced 2026-05-24 22:01:41 +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:
|
environment:
|
||||||
- DATABASE_PATH=/app/data/readlater.db
|
- DATABASE_PATH=/app/data/readlater.db
|
||||||
|
|
||||||
# Optional: Kokoro TTS for high-quality text-to-speech
|
# Kokoro TTS for high-quality text-to-speech
|
||||||
# Uncomment if you want to use Kokoro instead of browser TTS
|
kokoro:
|
||||||
# kokoro:
|
image: ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.1
|
||||||
# image: ghcr.io/remsky/kokoro-fastapi:latest
|
container_name: kokoro-tts
|
||||||
# container_name: kokoro-tts
|
restart: unless-stopped
|
||||||
# restart: unless-stopped
|
ports:
|
||||||
# ports:
|
- "8880:8880"
|
||||||
# - "8880:8880"
|
environment:
|
||||||
# environment:
|
- PYTHONUNBUFFERED=1
|
||||||
# - PYTHONUNBUFFERED=1
|
|
||||||
# # GPU support (optional, for faster inference)
|
|
||||||
# # deploy:
|
|
||||||
# # resources:
|
|
||||||
# # reservations:
|
|
||||||
# # devices:
|
|
||||||
# # - driver: nvidia
|
|
||||||
# # count: 1
|
|
||||||
# # capabilities: [gpu]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user