Docker: Add PHOTOPRISM_SIDECAR_YAML to docker-compose.yml

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-05-18 22:29:10 +02:00
parent da067f52e7
commit 950b6440be
3 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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)

View file

@ -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)