From 72763a15d45310fd853fc42699e33cf3ecb871c6 Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Wed, 4 Nov 2026 22:14:12 -0800 Subject: [PATCH] fixed some volumes and separated audiobooks from ebooks --- Bindery/.env.example | 5 ++++- Bindery/docker-compose-nfs.yaml | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Bindery/.env.example b/Bindery/.env.example index 64b4172..40c5181 100644 --- a/Bindery/.env.example +++ b/Bindery/.env.example @@ -21,7 +21,10 @@ BINDERY_LOG_LEVEL=info # Host path for the book library (e.g. /mnt/media/books) BINDERY_BOOKS=/mnt/path/to/books -# Host path for the download client's completed downloads (e.g. /mnt/downloads) +# Host path for the audiobook library, kept separate from ebooks (e.g. /mnt/media/audiobooks) +BINDERY_AUDIOBOOKS=/mnt/path/to/audiobooks + +# Host path for Transmission's completed downloads — must be the same host path as TRANSMISSION_OPENVPN_DATA BINDERY_DOWNLOADS=/mnt/path/to/downloads # NFS (config volume) diff --git a/Bindery/docker-compose-nfs.yaml b/Bindery/docker-compose-nfs.yaml index 59ffaf0..b8fe918 100644 --- a/Bindery/docker-compose-nfs.yaml +++ b/Bindery/docker-compose-nfs.yaml @@ -7,12 +7,16 @@ services: environment: - TZ=${BINDERY_TZ:-America/Los_Angeles} - BINDERY_LOG_LEVEL=${BINDERY_LOG_LEVEL:-info} + # /data matches Transmission's container path so its reported download paths resolve without a remap + - BINDERY_DOWNLOAD_DIR=/data + - BINDERY_AUDIOBOOK_DIR=/audiobooks ports: - ${BINDERY_PORT:-8787}:8787 volumes: - bindery-config:/config - ${BINDERY_BOOKS}:/books - - ${BINDERY_DOWNLOADS}:/downloads + - ${BINDERY_AUDIOBOOKS}:/audiobooks + - ${BINDERY_DOWNLOADS}:/data # No shell/curl in the distroless image — test is inherited from the image's built-in # HEALTHCHECK (runs the binary's healthcheck subcommand against /api/v1/health) healthcheck: