Chad
f45cc326fc
* Add more instructions after successfully creating a new subdomain. * Update the container name. * Add a just-in-case step. * Add an alias and improve comments. * Fix manage path. * Add limits but no reservations for PP. Start off somewhat relaxed rather than strict. * Always restart PP containers. * Move URL to env file. Do not recommend using HTTPS in the value. * Format comments. * Put commands in shells so they cannot exit the full program. * Updating apps like this did not seem to be working, but also do not want it to work anymore.
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
|
|
##
|
|
# PhotoPrism
|
|
##
|
|
|
|
# Admin Details
|
|
PHOTOPRISM_ADMIN_USER = "admin" # admin login username
|
|
PHOTOPRISM_ADMIN_PASSWORD = "PleaseChangeMe" # initial admin password (8-72 characters)
|
|
|
|
# External FQDN
|
|
# Should be in the format "http(s)://domain.name(:port)/(path)".
|
|
# Seems to work best if you leave off the s if behind a revese proxy,
|
|
# such as: PHOTOPRISM_SITE_URL = "http://photoprism.example.com"
|
|
PHOTOPRISM_SITE_URL = "http://localhost:2342"
|
|
|
|
# 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"
|