mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
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:
+1
-7
@@ -8,12 +8,6 @@ APP_PORT=3000
|
||||
# Point this at your library root; use an absolute path on NAS/Portainer installs.
|
||||
BOOKS_HOST_PATH=./books
|
||||
|
||||
# Optional: host folder for the Book Dock drop zone (maps to /data/book-dock inside the container).
|
||||
# Copy or move ebook files here and they will be automatically picked up and processed by Book Dock.
|
||||
# If not set, the drop folder lives inside ./data/app/book-dock (the default app data volume).
|
||||
# Use an absolute path when mounting a NAS share or a folder managed outside the app data directory.
|
||||
# BOOK_DROP_HOST_PATH=/mnt/nas/book-drop
|
||||
|
||||
# Container runtime UID/GID for files written to app-managed data folders.
|
||||
# Most users can leave these defaults.
|
||||
PUID=1000
|
||||
@@ -32,7 +26,7 @@ SETUP_BOOTSTRAP_TOKEN=change-this-to-a-long-random-secret
|
||||
# External/public URL used by emails and Kobo endpoints
|
||||
APP_URL=https://bookorbit.example.com
|
||||
|
||||
# Node.js JavaScript heap limit in MB. Raise this for very large libraries.
|
||||
# Node.js JavaScript heap limit in MB. Raise this for very large libraries, 250K+ books.
|
||||
NODE_MAX_OLD_SPACE_SIZE=2048
|
||||
|
||||
# --- Optional overrides (uncomment to set) ---
|
||||
|
||||
Reference in New Issue
Block a user