From 13f710bfc9bb352ef2236ffccbda88053cec4e93 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 24 Oct 2022 13:25:02 +0200 Subject: [PATCH] Develop: Add PHOTOPRISM_INIT option to docker-compose files Signed-off-by: Michael Mayer --- docker-compose.ci.yml | 1 + docker-compose.latest.yml | 1 + docker-compose.local.yml | 2 +- docker-compose.postgres.yml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index 501f62434..b3da904b4 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -16,6 +16,7 @@ services: - "~/.cache/npm:/root/.cache/npm" - "~/.cache/go-mod:/go/pkg/mod" environment: + PHOTOPRISM_INIT: "https" PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # initial "admin" password (minimum 8 characters) PHOTOPRISM_AUTH_MODE: "public" # authentication mode (public, password) PHOTOPRISM_SITE_URL: "http://photoprism.me:2342/" diff --git a/docker-compose.latest.yml b/docker-compose.latest.yml index 5a4bb6fdd..6eebd858b 100644 --- a/docker-compose.latest.yml +++ b/docker-compose.latest.yml @@ -19,6 +19,7 @@ services: - "traefik.http.routers.latest.tls.domains[0].sans=*.localssl.dev" - "traefik.http.routers.latest.tls=true" environment: + PHOTOPRISM_INIT: "https" PHOTOPRISM_UID: ${UID:-1000} # user id, should match your host user id PHOTOPRISM_GID: ${GID:-1000} # group id PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # initial "admin" password (minimum 8 characters) diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 2739139de..ac0822bfa 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -57,7 +57,7 @@ services: PHOTOPRISM_JPEG_SIZE: 7680 # size limit for converted image files in pixels (720-30000) PHOTOPRISM_JPEG_QUALITY: 85 # a higher value increases the quality and file size of JPEG images and thumbnails (25-100) TF_CPP_MIN_LOG_LEVEL: 0 # show TensorFlow log messages for development - PHOTOPRISM_INIT: "gpu tensorflow" # Options: "update https gpu tensorflow davfs clitools clean" + PHOTOPRISM_INIT: "http gpu tensorflow" # Options: "update https gpu tensorflow davfs clitools clean" PHOTOPRISM_FFMPEG_ENCODER: "nvidia" # Options: "software", "intel", "nvidia", "apple", "raspberry" PHOTOPRISM_STORAGE_PATH: "/photoprism/storage" PHOTOPRISM_ORIGINALS_PATH: "/photoprism/storage/originals" diff --git a/docker-compose.postgres.yml b/docker-compose.postgres.yml index b2461d23a..f7193719d 100644 --- a/docker-compose.postgres.yml +++ b/docker-compose.postgres.yml @@ -25,6 +25,7 @@ services: - "go-mod:/go/pkg/mod" shm_size: "2gb" environment: + PHOTOPRISM_INIT: "https" PHOTOPRISM_ADMIN_PASSWORD: "photoprism" # initial "admin" password (minimum 8 characters) PHOTOPRISM_AUTH_MODE: "password" # authentication mode (public, password) PHOTOPRISM_SITE_URL: "http://photoprism.me:2342/"