Add BOOK_DOCK_HOST_PATH to .env.sample and update compose.yaml for volume mapping
This commit is contained in:
@@ -7,6 +7,7 @@ APP_PORT=3000
|
||||
# Host folder that appears as /books in the container.
|
||||
# Point this at your library root; use an absolute path on NAS/Portainer installs.
|
||||
BOOKS_HOST_PATH=./books
|
||||
BOOK_DOCK_HOST_PATH=./book-dock
|
||||
|
||||
# Container runtime UID/GID for files written to app-managed data folders.
|
||||
PUID=1000
|
||||
|
||||
@@ -33,6 +33,7 @@ services:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ${BOOKS_HOST_PATH:-./books}:/books
|
||||
- ${BOOK_DOCK_HOST_PATH:-./book-dock}:/book-dock
|
||||
- ./data/app:/data
|
||||
read_only: true
|
||||
tmpfs:
|
||||
|
||||
Reference in New Issue
Block a user