From 46de7b3fff95db05a17ef923556c50e4be4f3c94 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 27 Oct 2020 19:38:58 +0100 Subject: [PATCH] services: update PhotoPrism configuration --- docker-compose.yml | 1 + photoprism/photoprism.env | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6b31174..ab8959a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -299,6 +299,7 @@ services: retries: 5 env_file: - ./photoprism/photoprism.env + - ./photoprism/photoprism.env.secret volumes: - ~/pictures/originals:/photoprism/originals - ~/pictures/import:/photoprism/import diff --git a/photoprism/photoprism.env b/photoprism/photoprism.env index f3577bd..b47466b 100644 --- a/photoprism/photoprism.env +++ b/photoprism/photoprism.env @@ -1,8 +1,10 @@ -PHOTOPRISM_URL=https://photoprism.belanyi.fr -PHOTOPRISM_TITLE=PhotoPrism -PHOTOPRISM_SUBTITLE=Browse your life -PHOTOPRISM_DESCRIPTION=Personal Photo Management powered by Go and Google TensorFlow. Free and open-source. -PHOTOPRISM_AUTHOR=Anonymous +UID=1000 +GID=1000 +PHOTOPRISM_SITE_URL=https://photoprism.belanyi.fr +PHOTOPRISM_SITE_TITLE=PhotoPrism +PHOTOPRISM_SITE_CAPTION=Browse your life +PHOTOPRISM_SITE_DESCRIPTION=Personal Photo Management powered by Go and Google TensorFlow. Free and open-source. +PHOTOPRISM_SITE_AUTHOR=Bruno BELANYI PHOTOPRISM_TWITTER=@browseyourlife PHOTOPRISM_UPLOAD_NSFW=true PHOTOPRISM_DETECT_NSFW=true @@ -10,17 +12,19 @@ PHOTOPRISM_EXPERIMENTAL=false PHOTOPRISM_DEBUG=false PHOTOPRISM_READONLY=false PHOTOPRISM_PUBLIC=false -PHOTOPRISM_DISABLE_SETTINGS=false +PHOTOPRISM_SETTINGS_HIDDEN=false PHOTOPRISM_HTTP_HOST=0.0.0.0 PHOTOPRISM_HTTP_PORT=2342 -PHOTOPRISM_TIDB_HOST=0.0.0.0 -PHOTOPRISM_TIDB_PORT=2343 -PHOTOPRISM_TIDB_PASSWORD=photoprism -PHOTOPRISM_ADMIN_PASSWORD=$2y$10$5/1WPeVMXk4SjBKyDdbqhuQU3RPiYyGZGl8yh0Fxa9eno6Ou/FbSi -PHOTOPRISM_DATABASE_DRIVER=tidb -PHOTOPRISM_DATABASE_DSN=root:photoprism@tcp(localhost:2343)/photoprism?parseTime=true +PHOTOPRISM_DATABASE_DRIVER=sqlite +PHOTOPRISM_SIDECAR_JSON=true +PHOTOPRISM_SIDECAR_YAML=true PHOTOPRISM_JPEG_QUALITY=90 +PHOTOPRISM_JPEG_SIZE=7680 +PHOTOPRISM_THUMB_SIZE_UNCACHED=7680 PHOTOPRISM_THUMB_FILTER=lanczos PHOTOPRISM_THUMB_UNCACHED=false PHOTOPRISM_THUMB_SIZE=2048 PHOTOPRISM_THUMB_LIMIT=3840 +PHOTOPRISM_DARKTABLE_PRESETS=false +# Put into a secret environment file +#PHOTOPRISM_ADMIN_PASSWORD=FIXME-CHANGE-THIS