From 1d9ade4c22bba01e03182b04d5b819e0ee6211a5 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 4 Jan 2021 21:57:15 +0100 Subject: [PATCH] Config: Add PHOTOPRISM_AUTO_INDEX & IMPORT to Dockerfile #281 --- docker/photoprism/Dockerfile | 4 ++++ docker/photoprism/arm64/Dockerfile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docker/photoprism/Dockerfile b/docker/photoprism/Dockerfile index 4135d549b..385e469a3 100644 --- a/docker/photoprism/Dockerfile +++ b/docker/photoprism/Dockerfile @@ -103,6 +103,10 @@ ENV PHOTOPRISM_THUMB_SIZE 2048 ENV PHOTOPRISM_THUMB_SIZE_UNCACHED 7680 ENV PHOTOPRISM_JPEG_SIZE 7680 ENV PHOTOPRISM_JPEG_QUALITY 92 +ENV PHOTOPRISM_WORKERS 0 +ENV PHOTOPRISM_WAKEUP_INTERVAL 900 +ENV PHOTOPRISM_AUTO_INDEX 300 +ENV PHOTOPRISM_AUTO_IMPORT 300 # Copy files to /photoprism COPY --from=build /root/.local/bin/photoprism /photoprism/bin/photoprism diff --git a/docker/photoprism/arm64/Dockerfile b/docker/photoprism/arm64/Dockerfile index 15a1de479..a997b7ae1 100644 --- a/docker/photoprism/arm64/Dockerfile +++ b/docker/photoprism/arm64/Dockerfile @@ -189,6 +189,10 @@ ENV PHOTOPRISM_THUMB_SIZE 2048 ENV PHOTOPRISM_THUMB_SIZE_UNCACHED 7680 ENV PHOTOPRISM_JPEG_SIZE 7680 ENV PHOTOPRISM_JPEG_QUALITY 92 +ENV PHOTOPRISM_WORKERS 0 +ENV PHOTOPRISM_WAKEUP_INTERVAL 900 +ENV PHOTOPRISM_AUTO_INDEX 300 +ENV PHOTOPRISM_AUTO_IMPORT 300 # Copy files to /photoprism COPY --from=build /root/.local/bin/photoprism /photoprism/bin/photoprism