From 5ff7f38b85957e3a2cbfa9d0870fb0029ce0eef3 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Tue, 18 Aug 2026 08:31:49 -0400 Subject: [PATCH] fix: correct volume types and photo path in docker-compose - Use explicit type: volume for the luma_data named volume so compose managers (CasaOS etc.) don't misinterpret it as a bind mount - Use type: bind / read_only: true for the photo directory - Both server and worker now reference /media/Plex/Gallery consistently - Worker was previously left with the placeholder path, causing it to watch a non-existent directory and index nothing Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c92e4d4..83641de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,8 +11,13 @@ services: POSTER_DIR: /data/posters NODE_ENV: production volumes: - - luma_data:/data - - /your/photo/directory:/photos:ro # ← change this path + - type: volume + source: luma_data + target: /data + - type: bind + source: /media/Plex/Gallery + target: /photos + read_only: true healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/health"] interval: 30s @@ -29,8 +34,13 @@ services: POSTER_DIR: /data/posters PHOTO_DIR: /photos volumes: - - luma_data:/data - - /your/photo/directory:/photos:ro # ← same path as server + - type: volume + source: luma_data + target: /data + - type: bind + source: /media/Plex/Gallery + target: /photos + read_only: true depends_on: server: condition: service_healthy