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: