diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-28 12:00:03 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-28 12:00:03 +0100 |
| commit | 722883ab4a4583b799ce8bfd0cfad70b4b89daf9 (patch) | |
| tree | 8b19ff073d3981ebc4e3a5428cd953463fa5c46e /compose.yaml | |
| parent | contextual play should add to the last in the queue (diff) | |
| download | senator-sperma-722883ab4a4583b799ce8bfd0cfad70b4b89daf9.tar.gz senator-sperma-722883ab4a4583b799ce8bfd0cfad70b4b89daf9.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | compose.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml index eac326f..68b7cae 100644 --- a/compose.yaml +++ b/compose.yaml | |||
| @@ -16,6 +16,8 @@ services: | |||
| 16 | # The host .env points TTS_MODEL_PATH at an absolute host path, which | 16 | # The host .env points TTS_MODEL_PATH at an absolute host path, which |
| 17 | # does not exist inside the container. The model is mounted below. | 17 | # does not exist inside the container. The model is mounted below. |
| 18 | TTS_MODEL_PATH: /app/piper | 18 | TTS_MODEL_PATH: /app/piper |
| 19 | # espeak-ng data is baked into the image by the Dockerfile. | ||
| 20 | PIPER_ESPEAKNG_DATA_DIRECTORY: /usr/share | ||
| 19 | # Override if the bot should not use Polish local time for cron jobs. | 21 | # Override if the bot should not use Polish local time for cron jobs. |
| 20 | # TZ: Europe/Warsaw | 22 | # TZ: Europe/Warsaw |
| 21 | volumes: | 23 | volumes: |
