From 950b6440bea6c51bfe4251513648141095d08b61 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 18 May 2020 22:29:10 +0200 Subject: [PATCH] Docker: Add PHOTOPRISM_SIDECAR_YAML to docker-compose.yml Signed-off-by: Michael Mayer --- docker/demo/Dockerfile | 1 + docker/photoprism/arm64/docker-compose.yml | 3 ++- docker/photoprism/docker-compose.yml | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/demo/Dockerfile b/docker/demo/Dockerfile index f0e4faa62..6a67f0ccb 100644 --- a/docker/demo/Dockerfile +++ b/docker/demo/Dockerfile @@ -23,6 +23,7 @@ ENV PHOTOPRISM_THUMB_SIZE 3840 ENV PHOTOPRISM_THUMB_LIMIT 3840 ENV PHOTOPRISM_GEOCODING_API places ENV PHOTOPRISM_SIDECAR_JSON true +ENV PHOTOPRISM_SIDECAR_YAML false # Import example photos RUN photoprism import diff --git a/docker/photoprism/arm64/docker-compose.yml b/docker/photoprism/arm64/docker-compose.yml index 459376c0a..791738879 100644 --- a/docker/photoprism/arm64/docker-compose.yml +++ b/docker/photoprism/arm64/docker-compose.yml @@ -49,7 +49,8 @@ services: PHOTOPRISM_THUMB_SIZE: 2048 # Default thumbnail size limit (default 2048, min 720, max 3840) # PHOTOPRISM_THUMB_SIZE: 3840 # For retina screens (requires more storage) PHOTOPRISM_THUMB_LIMIT: 3840 # On-demand thumbnail size limit (default 2048, min 720, max 3840) - # PHOTOPRISM_SIDECAR_JSON: "true" # sync metadata with json sidecar files as used by exiftool + # PHOTOPRISM_SIDECAR_JSON: "true" # read metadata from json sidecar files created by exiftool + # PHOTOPRISM_SIDECAR_YAML: "true" # backup photo metadata to yaml sidecar files volumes: - "~/Pictures/Originals:/photoprism/originals" # [local path]:[container path] - "~/Pictures/Import:/photoprism/import" # [local path]:[container path] (optional) diff --git a/docker/photoprism/docker-compose.yml b/docker/photoprism/docker-compose.yml index 3aead41ab..f7d46435c 100644 --- a/docker/photoprism/docker-compose.yml +++ b/docker/photoprism/docker-compose.yml @@ -48,7 +48,8 @@ services: PHOTOPRISM_THUMB_SIZE: 2048 # Default thumbnail size limit (default 2048, min 720, max 3840) # PHOTOPRISM_THUMB_SIZE: 3840 # For retina screens (requires more storage) PHOTOPRISM_THUMB_LIMIT: 3840 # On-demand thumbnail size limit (default 2048, min 720, max 3840) - # PHOTOPRISM_SIDECAR_JSON: "true" # sync metadata with json sidecar files as used by exiftool + # PHOTOPRISM_SIDECAR_JSON: "true" # read metadata from json sidecar files created by exiftool + # PHOTOPRISM_SIDECAR_YAML: "true" # backup photo metadata to yaml sidecar files volumes: - "~/Pictures/Originals:/photoprism/originals" # [local path]:[container path] - "~/Pictures/Import:/photoprism/import" # [local path]:[container path] (optional)