introduce configurable smart sentence splitting with persisted state, UI toggle, and EPUB/PDF contexts that send continuation metadata. enhance TTS pipeline to merge cross-page sentences, manage carryover, and trigger visual page changes during playback for smoother narration. update README with kokoro quick-start guidance, remove the legacy issues mapping doc, and add deterministic TTS mocks plus sample audio for Playwright tests.
30 lines
No EOL
888 B
YAML
30 lines
No EOL
888 B
YAML
services:
|
|
kokoro-tts:
|
|
container_name: kokoro-tts
|
|
image: ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.4
|
|
ports:
|
|
- "8880:8880"
|
|
environment:
|
|
# ONNX Optimization Settings for vectorized operations
|
|
- ONNX_NUM_THREADS=8 # Maximize core usage for vectorized ops
|
|
- ONNX_INTER_OP_THREADS=4 # Higher inter-op for parallel matrix operations
|
|
- ONNX_EXECUTION_MODE=parallel
|
|
- ONNX_OPTIMIZATION_LEVEL=all
|
|
- ONNX_MEMORY_PATTERN=true
|
|
- ONNX_ARENA_EXTEND_STRATEGY=kNextPowerOfTwo
|
|
- API_LOG_LEVEL=DEBUG
|
|
restart: unless-stopped
|
|
|
|
openreader-webui:
|
|
container_name: openreader-webui
|
|
image: ghcr.io/richardr1126/openreader-webui:latest
|
|
environment:
|
|
- API_BASE=http://host.docker.internal:8880/v1
|
|
ports:
|
|
- "3003:3003"
|
|
volumes:
|
|
- docstore:/app/docstore
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
docstore: |