setup-opds.sh: add bind-propagation=shared to dir2opds mount for FUSE mount visibility inside container

This commit is contained in:
Justin Oros
2026-04-20 21:41:46 -07:00
parent 80d5f1d1fd
commit 85def22fca

View File

@@ -189,7 +189,7 @@ dir2opds)
--name dir2opds \ --name dir2opds \
--restart unless-stopped \ --restart unless-stopped \
--network opds-net \ --network opds-net \
--mount "type=bind,source=${BOOKS_PATH},target=/books,readonly" \ --mount "type=bind,source=${BOOKS_PATH},target=/books,readonly,bind-propagation=shared" \
"$OPDS_IMAGE" \ "$OPDS_IMAGE" \
/dir2opds -dir /books -hide-dot-files -calibre /dir2opds -dir /books -hide-dot-files -calibre
;; ;;