feat(book-dock): support custom container directory via BOOK_DOCK_PATH

The Book Dock directory inside the container was previously hardcoded to `/data/book-dock`. This adds support for the `BOOK_DOCK_PATH` environment variable, allowing users to customize the internal container directory where the Book Dock monitors for files. If the environment variable is not set, it defaults to the `book-dock` folder inside the configured app data path. This replaces the `BOOK_DROP_HOST_PATH` volume mapping in the compose file with a standard volume and environment variable approach.

Closes #178
This commit is contained in:
neon
2026-06-01 23:56:21 +00:00
parent f20efdeedd
commit 3a349c83b1
14 changed files with 91 additions and 43 deletions
+1 -1
View File
@@ -26,13 +26,13 @@ services:
PUID: ${PUID:-1000}
PGID: ${PGID:-1000}
NODE_MAX_OLD_SPACE_SIZE: ${NODE_MAX_OLD_SPACE_SIZE:-2048}
BOOK_DOCK_PATH: ${BOOK_DOCK_PATH:-}
depends_on:
postgres:
condition: service_healthy
volumes:
- ${BOOKS_HOST_PATH:-./books}:/books
- ./data/app:/data
- ${BOOK_DROP_HOST_PATH:-./data/app/book-dock}:/data/book-dock
read_only: true
tmpfs:
- /tmp