services: update PhotoPrism configuration

This commit is contained in:
Bruno BELANYI 2020-10-27 19:38:58 +01:00
parent 037e524263
commit 46de7b3fff
2 changed files with 17 additions and 12 deletions

View file

@ -299,6 +299,7 @@ services:
retries: 5 retries: 5
env_file: env_file:
- ./photoprism/photoprism.env - ./photoprism/photoprism.env
- ./photoprism/photoprism.env.secret
volumes: volumes:
- ~/pictures/originals:/photoprism/originals - ~/pictures/originals:/photoprism/originals
- ~/pictures/import:/photoprism/import - ~/pictures/import:/photoprism/import

View file

@ -1,8 +1,10 @@
PHOTOPRISM_URL=https://photoprism.belanyi.fr UID=1000
PHOTOPRISM_TITLE=PhotoPrism GID=1000
PHOTOPRISM_SUBTITLE=Browse your life PHOTOPRISM_SITE_URL=https://photoprism.belanyi.fr
PHOTOPRISM_DESCRIPTION=Personal Photo Management powered by Go and Google TensorFlow. Free and open-source. PHOTOPRISM_SITE_TITLE=PhotoPrism
PHOTOPRISM_AUTHOR=Anonymous 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_TWITTER=@browseyourlife
PHOTOPRISM_UPLOAD_NSFW=true PHOTOPRISM_UPLOAD_NSFW=true
PHOTOPRISM_DETECT_NSFW=true PHOTOPRISM_DETECT_NSFW=true
@ -10,17 +12,19 @@ PHOTOPRISM_EXPERIMENTAL=false
PHOTOPRISM_DEBUG=false PHOTOPRISM_DEBUG=false
PHOTOPRISM_READONLY=false PHOTOPRISM_READONLY=false
PHOTOPRISM_PUBLIC=false PHOTOPRISM_PUBLIC=false
PHOTOPRISM_DISABLE_SETTINGS=false PHOTOPRISM_SETTINGS_HIDDEN=false
PHOTOPRISM_HTTP_HOST=0.0.0.0 PHOTOPRISM_HTTP_HOST=0.0.0.0
PHOTOPRISM_HTTP_PORT=2342 PHOTOPRISM_HTTP_PORT=2342
PHOTOPRISM_TIDB_HOST=0.0.0.0 PHOTOPRISM_DATABASE_DRIVER=sqlite
PHOTOPRISM_TIDB_PORT=2343 PHOTOPRISM_SIDECAR_JSON=true
PHOTOPRISM_TIDB_PASSWORD=photoprism PHOTOPRISM_SIDECAR_YAML=true
PHOTOPRISM_ADMIN_PASSWORD=$2y$10$5/1WPeVMXk4SjBKyDdbqhuQU3RPiYyGZGl8yh0Fxa9eno6Ou/FbSi
PHOTOPRISM_DATABASE_DRIVER=tidb
PHOTOPRISM_DATABASE_DSN=root:photoprism@tcp(localhost:2343)/photoprism?parseTime=true
PHOTOPRISM_JPEG_QUALITY=90 PHOTOPRISM_JPEG_QUALITY=90
PHOTOPRISM_JPEG_SIZE=7680
PHOTOPRISM_THUMB_SIZE_UNCACHED=7680
PHOTOPRISM_THUMB_FILTER=lanczos PHOTOPRISM_THUMB_FILTER=lanczos
PHOTOPRISM_THUMB_UNCACHED=false PHOTOPRISM_THUMB_UNCACHED=false
PHOTOPRISM_THUMB_SIZE=2048 PHOTOPRISM_THUMB_SIZE=2048
PHOTOPRISM_THUMB_LIMIT=3840 PHOTOPRISM_THUMB_LIMIT=3840
PHOTOPRISM_DARKTABLE_PRESETS=false
# Put into a secret environment file
#PHOTOPRISM_ADMIN_PASSWORD=FIXME-CHANGE-THIS