Setup: Update compose.yaml defaults for the Raspberry Pi #4414 #5100

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2025-07-11 16:30:59 +02:00
parent f1cfe8d406
commit d5816e0f9f

View file

@ -246,9 +246,11 @@ write_files:
PHOTOPRISM_SITE_URL: "https://photoprism-pi.local/"
PHOTOPRISM_SITE_CAPTION: "AI-Powered Photos App"
PHOTOPRISM_ORIGINALS_LIMIT: 5000
PHOTOPRISM_HTTP_COMPRESSION: "none"
PHOTOPRISM_WORKERS: 2
PHOTOPRISM_RESOLUTION_LIMIT: 300
PHOTOPRISM_HTTP_COMPRESSION: "gzip"
PHOTOPRISM_WORKERS: 3
PHOTOPRISM_LOG_LEVEL: "info"
PHOTOPRISM_TRACE: "false"
PHOTOPRISM_READONLY: "false"
PHOTOPRISM_EXPERIMENTAL: "false"
PHOTOPRISM_DISABLE_CHOWN: "false"
@ -259,19 +261,26 @@ write_files:
PHOTOPRISM_DISABLE_CLASSIFICATION: "false"
PHOTOPRISM_DISABLE_RAW: "false"
PHOTOPRISM_RAW_PRESETS: "false"
PHOTOPRISM_JPEG_QUALITY: 85
PHOTOPRISM_DETECT_NSFW: "false"
PHOTOPRISM_UPLOAD_NSFW: "true"
PHOTOPRISM_JPEG_QUALITY: 82
PHOTOPRISM_FFMPEG_SIZE: 1920
PHOTOPRISM_AUTO_INDEX: 300 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: -1 # delay before automatically importing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_DETECT_NSFW: "false" # automatically flags photos as private that MAY be offensive (requires TensorFlow)
PHOTOPRISM_UPLOAD_NSFW: "true" # allow uploads that MAY be offensive
PHOTOPRISM_UPLOAD_ALLOW: "" # restricts uploads to these file types (comma-separated list of EXTENSIONS; leave blank to allow all)
PHOTOPRISM_UPLOAD_ARCHIVES: "true" # allows upload of zip archives (will be extracted before import)
PHOTOPRISM_UPLOAD_LIMIT: 10000 # maximum total size of uploaded files in MB (1-100000; -1 to disable)
PHOTOPRISM_SIDECAR_YAML: "false" # creates YAML sidecar files to back up picture metadata
PHOTOPRISM_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_BACKUP_ALBUMS: "true" # creates YAML files to back up album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # creates regular backups based on the configured schedule
PHOTOPRISM_BACKUP_SCHEDULE: "daily" # backup SCHEDULE in cron format (e.g. "0 12 * * *" for daily at noon) or at a random time (daily, weekly)
PHOTOPRISM_DATABASE_DRIVER: "mysql"
PHOTOPRISM_DATABASE_SERVER: "mariadb:3306"
PHOTOPRISM_DATABASE_NAME: "photoprism"
PHOTOPRISM_DATABASE_USER: "photoprism"
PHOTOPRISM_DATABASE_PASSWORD: "insecure"
PHOTOPRISM_INIT: "gpu"
PHOTOPRISM_FFMPEG_ENCODER: "software"
PHOTOPRISM_FFMPEG_BITRATE: "32"
PHOTOPRISM_UID: 1000
PHOTOPRISM_GID: 1000
PHOTOPRISM_INIT: "yt-dlp"
working_dir: "/photoprism"
volumes:
- "/opt/photoprism/storage:/photoprism/storage"