parameterize photoprism docker compose

pull/11/head
Cian Hatton 3 years ago
parent 32720deca8
commit 9213b358dd

@ -32,6 +32,8 @@ qnap:
# path on qnap where backups are stored # path on qnap where backups are stored
backups_dir: /mnt/test/backups backups_dir: /mnt/test/backups
photoprism_dir: /mnt/test/photoprism
# dashy related config # dashy related config
dashy: dashy:
destination_dir: /etc/config/dashy destination_dir: /etc/config/dashy

@ -43,9 +43,9 @@ services:
- "/dev/dri:/dev/dri" # Intel QSV - "/dev/dri:/dev/dri" # Intel QSV
working_dir: "/photoprism" # do not change or remove working_dir: "/photoprism" # do not change or remove
volumes: volumes:
- "/mnt/hdds/photoprism/originals:/photoprism/originals" # Original media files (DO NOT REMOVE) - {{ qnap.photoprism_dir}}/originals:/photoprism/originals # Original media files (DO NOT REMOVE)
- "/mnt/hdds/photoprism/import:/photoprism/import" # *Optional* base folder from which files can be imported to originals - {{ qnap.photoprism_dir}}/import:/photoprism/import # *Optional* base folder from which files can be imported to originals
- "/mnt/hdds/photoprism/storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE) - {{ qnap.photoprism_dir}}/storage:/photoprism/storage # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
networks: networks:

Loading…
Cancel
Save