Add XTTS primary voice with Piper fallback

This commit is contained in:
Mikei386
2026-08-23 12:22:59 +02:00
parent 16a6288a4d
commit f90fc93f9c
18 changed files with 715 additions and 28 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM python:3.12-slim
RUN apt-get update \
&& apt-get install --no-install-recommends -y curl ffmpeg \
&& rm -rf /var/lib/apt/lists/* \
&& useradd --system --uid 10005 --home-dir /nonexistent --shell /usr/sbin/nologin tts
COPY tts_gateway.py /app/tts_gateway.py
USER 10005:10005
EXPOSE 8085
HEALTHCHECK --interval=10s --timeout=5s --retries=12 \
CMD curl -fsS http://127.0.0.1:8085/status || exit 1
ENTRYPOINT ["python", "/app/tts_gateway.py"]