* Add initial configuration for PhotoPrism. Has not been tested yet, but options have been analyzed and tweaked. * Begin testing. Fixes. Running pretty well, seems neat! Need to figure out user management other than admin. * Add output to source so that we know it worked. * Modify comments to explain a use free-to-win use case. * Go ahead and give the full path on the success path.
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
|
|
##
|
|
# PhotoPrism
|
|
##
|
|
|
|
# Admin Details
|
|
PHOTOPRISM_ADMIN_USER = "admin" # admin login username
|
|
PHOTOPRISM_ADMIN_PASSWORD = "PleaseChangeMe" # initial admin password (8-72 characters)
|
|
|
|
# Max Storage Space?
|
|
PHOTOPRISM_ORIGINALS_LIMIT = 5000 # file size limit for originals in MB (increase for high-res video)
|
|
|
|
# Site Metadata
|
|
PHOTOPRISM_SITE_CAPTION = "AI-Powered Photos App"
|
|
PHOTOPRISM_SITE_DESCRIPTION = "" # meta site description
|
|
PHOTOPRISM_SITE_AUTHOR = "" # meta site author
|
|
|
|
# NSFW
|
|
PHOTOPRISM_DETECT_NSFW = "false" # automatically flags photos as private that MAY be offensive (requires TensorFlow)
|
|
PHOTOPRISM_UPLOAD_NSFW = "true" # allows uploads that MAY be offensive (no effect without TensorFlow)
|
|
|
|
# Data Limits
|
|
PHOTOPRISM_FFMPEG_ENCODER = "software" # H.264/AVC encoder (software, intel, nvidia, apple, raspberry, or vaapi)
|
|
PHOTOPRISM_FFMPEG_SIZE = "1920" # video size limit in pixels (720-7680) (default: 3840)
|
|
PHOTOPRISM_FFMPEG_BITRATE = "8" # video bitrate limit in Mbit/s (default: 50)
|
|
|
|
##
|
|
# MariaDB
|
|
##
|
|
|
|
MARIADB_DATABASE = "photoprism"
|
|
MARIADB_USER = "photoprism"
|
|
MARIADB_PASSWORD = "PleaseChangeMe"
|
|
MARIADB_ROOT_PASSWORD = "PleaseChangeMe"
|