This repository has been archived on 2023-02-05. You can view files and clone it, but cannot push or open issues or pull requests.
pyinfra-photoprism/templates/env.j2
2021-09-26 21:30:48 +09:00

73 lines
3.3 KiB
Django/Jinja

# From Dockerfile
PHOTOPRISM_ASSETS_PATH="/photoprism/assets"
PHOTOPRISM_STORAGE_PATH="/photoprism/storage"
PHOTOPRISM_BACKUP_PATH="/var/lib/photoprism"
PHOTOPRISM_ORIGINALS_PATH="/photoprism/originals"
PHOTOPRISM_IMPORT_PATH="/photoprism/import"
PHOTOPRISM_LOG_FILENAME="/photoprism/photoprism.log"
PHOTOPRISM_PID_FILENAME="/photoprism/photoprism.pid"
PHOTOPRISM_DEBUG="false"
PHOTOPRISM_PUBLIC="false"
PHOTOPRISM_READONLY="false"
PHOTOPRISM_UPLOAD_NSFW="true"
PHOTOPRISM_DETECT_NSFW="false"
PHOTOPRISM_EXPERIMENTAL="false"
PHOTOPRISM_SITE_URL="http://localhost:2342/"
PHOTOPRISM_SITE_TITLE="PhotoPrism"
PHOTOPRISM_SITE_CAPTION="Browse Your Life"
PHOTOPRISM_SITE_DESCRIPTION=""
PHOTOPRISM_SITE_AUTHOR=""
PHOTOPRISM_HTTP_HOST="0.0.0.0"
PHOTOPRISM_HTTP_PORT=2342
PHOTOPRISM_DATABASE_DRIVER="sqlite"
PHOTOPRISM_DATABASE_SERVER=""
PHOTOPRISM_DATABASE_NAME="photoprism"
PHOTOPRISM_DATABASE_USER="photoprism"
PHOTOPRISM_DATABASE_PASSWORD=""
PHOTOPRISM_DISABLE_WEBDAV="false"
PHOTOPRISM_DISABLE_SETTINGS="false"
PHOTOPRISM_DISABLE_BACKUPS="false"
PHOTOPRISM_DISABLE_EXIFTOOL="false"
PHOTOPRISM_DISABLE_PLACES="false"
PHOTOPRISM_DISABLE_TENSORFLOW="false"
PHOTOPRISM_DISABLE_FACES="false"
PHOTOPRISM_DISABLE_CLASSIFICATION="false"
PHOTOPRISM_DARKTABLE_PRESETS="false"
PHOTOPRISM_THUMB_FILTER="lanczos"
PHOTOPRISM_THUMB_UNCACHED="false"
PHOTOPRISM_THUMB_SIZE=2048
PHOTOPRISM_THUMB_SIZE_UNCACHED=7680
PHOTOPRISM_JPEG_SIZE=7680
PHOTOPRISM_JPEG_QUALITY=92
PHOTOPRISM_WORKERS=0
PHOTOPRISM_WAKEUP_INTERVAL=900
PHOTOPRISM_AUTO_INDEX=300
PHOTOPRISM_AUTO_IMPORT=300
# From docker-compose, those that are really supposed to be configured by user
PHOTOPRISM_ADMIN_PASSWORD="{{ host.data.photoprism_admin_password }}"
PHOTOPRISM_ORIGINALS_LIMIT={{ host.data.photoprism_originals_limit }}
PHOTOPRISM_HTTP_COMPRESSION="{{ host.data.photoprism_http_compression }}"
PHOTOPRISM_DEBUG="{{ host.data.photoprism_debug }}"
PHOTOPRISM_PUBLIC="{{ host.data.photoprism_public }}"
PHOTOPRISM_READONLY="{{ host.data.photoprism_readonly }}"
PHOTOPRISM_EXPERIMENTAL="{{ host.data.photoprism_experimental }}"
PHOTOPRISM_DISABLE_WEBDAV="{{ host.data.photoprism_disable_webdav }}"
PHOTOPRISM_DISABLE_SETTINGS="{{ host.data.photoprism_disable_settings }}"
PHOTOPRISM_DISABLE_TENSORFLOW="{{ host.data.photoprism_disable_tensorflow }}"
PHOTOPRISM_DISABLE_FACES="{{ host.data.photoprism_disable_faces }}"
PHOTOPRISM_DISABLE_CLASSIFICATION="{{ host.data.photoprism_disable_classification }}"
PHOTOPRISM_DARKTABLE_PRESETS="{{ host.data.photoprism_darktable_presets }}"
PHOTOPRISM_DETECT_NSFW="{{ host.data.photoprism_detect_nsfw }}"
PHOTOPRISM_UPLOAD_NSFW="{{ host.data.photoprism_upload_nsfw }}"
PHOTOPRISM_DATABASE_DRIVER="{{ host.data.photoprism_database_driver }}"
PHOTOPRISM_DATABASE_SERVER="{{ host.data.photoprism_database_server }}"
PHOTOPRISM_DATABASE_NAME="{{ host.data.photoprism_database_name }}"
PHOTOPRISM_DATABASE_USER="{{ host.data.photoprism_database_user }}"
PHOTOPRISM_DATABASE_PASSWORD="{{ host.data.photoprism_database_password }}"
PHOTOPRISM_SITE_URL="{{ host.data.photoprism_site_url }}"
PHOTOPRISM_SITE_TITLE="{{ host.data.photoprism_site_title }}"
PHOTOPRISM_SITE_CAPTION="{{ host.data.photoprism_site_caption }}"
PHOTOPRISM_SITE_DESCRIPTION="{{ host.data.photoprism_site_description }}"
PHOTOPRISM_SITE_AUTHOR="{{ host.data.photoprism_site_author }}"
HOME="{{ host.data.photoprism_home }}"