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/production.py

30 lines
2.1 KiB
Python

# Mandatory, edit me!
photoprism_admin_password='insecure' # File size limit for originals in MB (increase for high-res video)
photoprism_database_password='insecure' # MariaDB database password
# Optional
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_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'