From 722883ab4a4583b799ce8bfd0cfad70b4b89daf9 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 28 Oct 2026 12:00:03 +0100 Subject: docker: bake espeak-ng data for Piper TTS espeak-rs-sys installs espeak-ng-data into the build tree and compiles that path in as the default, so the runtime image failed with 'phontab: No such file or directory'. Copy the data from the builder to /usr/share and point PIPER_ESPEAKNG_DATA_DIRECTORY there; compose overrides the host path from .env. Also trim trailing slashes from Copyparty base URLs, document that env_file changes need --force-recreate, and clean inline comments in .env.example. --- compose.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compose.yaml') diff --git a/compose.yaml b/compose.yaml index eac326f..68b7cae 100644 --- a/compose.yaml +++ b/compose.yaml @@ -16,6 +16,8 @@ services: # The host .env points TTS_MODEL_PATH at an absolute host path, which # does not exist inside the container. The model is mounted below. TTS_MODEL_PATH: /app/piper + # espeak-ng data is baked into the image by the Dockerfile. + PIPER_ESPEAKNG_DATA_DIRECTORY: /usr/share # Override if the bot should not use Polish local time for cron jobs. # TZ: Europe/Warsaw volumes: -- cgit v1.2.3