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/group_data/all.py
2021-09-27 17:54:54 +09:00

44 lines
2.6 KiB
Python

# Undocker
undocker_url='https://git.sr.ht/~motiejus/undocker/refs/download/v1.0.2/undocker-linux-amd64-v1.0.2'
undocker_sha256='b937e69e774c530c080c1f6685763ca7db4dc58520a5a2054d111e1504f47688'
undocker_bin='/usr/local/bin/undocker'
undocker_dst='/opt/photoprism'
undocker_cache='/var/cache/undocker'
# Used for the system
unix_user='photoprism'
unix_group='photoprism'
unix_home='/home/photoprism'
unix_shell='/bin/false'
systemd_env='/etc/photoprism.env'
photoprism_storage_src=unix_home+'/storage'
photoprism_originals_src=unix_home+'/originals'
photoprism_import_src=unix_home+'/import'
# From docker-compose
photoprism_admin_password='insecure' # File size limit for originals in MB (increase for high-res video)
photoprism_originals_limit=5000 # File size limit for originals in MB (increase for high-res video)
photoprism_http_compression='GZIP' # Improves transfer speed and bandwidth utilization (none or gzip)
photoprism_debug='false' # Run in debug mode (shows additional log messages)
photoprism_public='false' # No authentication required (disables password protection)
photoprism_readonly='false' # Don't modify originals directory (reduced functionality)
photoprism_experimental='false' # Enables experimental features
photoprism_disable_webdav='false' # Disables built-in WebDAV server
photoprism_disable_settings='false' # Disables Settings in Web UI
photoprism_disable_tensorflow='false' # Disables all features depending on TensorFlow
photoprism_disable_faces='false' # Disables facial recognition
photoprism_disable_classification='false' # Disables image classification
photoprism_darktable_presets='false' # Enables Darktable presets and disables concurrent RAW conversion
photoprism_detect_nsfw='false' # Flag photos as private that MAY be offensive (requires TensorFlow)
photoprism_upload_nsfw='true' # Allow uploads that MAY be offensive
photoprism_database_driver='mysql' # Use MariaDB (or MySQL) instead of SQLite for improved performance
photoprism_database_server='127.0.0.1:3306' # MariaDB database server (hostname=port)
photoprism_database_name='photoprism' # MariaDB database schema name
photoprism_database_user='photoprism' # MariaDB database user name
photoprism_database_password='insecure'
photoprism_site_url='http://localhost:2342/' # Public PhotoPrism URL
photoprism_site_title='PhotoPrism'
photoprism_site_caption='Browse Your Life'
photoprism_site_description=''
photoprism_site_author=''
photoprism_home='/photoprism'