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