59 lines
2.8 KiB
YAML
59 lines
2.8 KiB
YAML
version: '3.5'
|
|
|
|
# Example Docker Compose config file for PhotoPrism (Linux / AMD64)
|
|
photoprism:
|
|
site:
|
|
caption: "AI Photos"
|
|
description: "AI Photos"
|
|
authtor: ""
|
|
url: "http://photoprism.me:2342/"
|
|
image:
|
|
repo: photoprism/photoprism
|
|
tag: "230603"
|
|
env:
|
|
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_LOG_LEVEL: "info" # log level: trace, debug, info, warning, error, fatal, or panic
|
|
PHOTOPRISM_READONLY: "true" # do not modify originals directory (reduced functionality)
|
|
PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features
|
|
PHOTOPRISM_DISABLE_CHOWN: "true" # disables updating storage permissions via chmod and chown on startup
|
|
PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server
|
|
PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API
|
|
PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow
|
|
PHOTOPRISM_DISABLE_FACES: "false" # disables face detection and recognition (requires TensorFlow)
|
|
PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification (requires TensorFlow)
|
|
PHOTOPRISM_DISABLE_VECTORS: "false" # disables vector graphics support
|
|
PHOTOPRISM_DISABLE_RAW: "false" # disables indexing and conversion of RAW images
|
|
PHOTOPRISM_RAW_PRESETS: "false" # enables applying user presets when converting RAW images (reduces performance)
|
|
PHOTOPRISM_JPEG_QUALITY: 85 # a higher value increases the quality and file size of JPEG images and thumbnails (25-100)
|
|
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)
|
|
volumes:
|
|
originals: ~
|
|
import: ~
|
|
storage: ~
|
|
additional: []
|
|
auth:
|
|
secretName: ""
|
|
secretKeys:
|
|
username: "PHOTOPRISM_ADMIN_USER"
|
|
password: "PHOTOPRISM_ADMIN_PASSWORD"
|
|
mode: "PHOTOPRISM_AUTH_MODE"
|
|
database:
|
|
service:
|
|
name: "database"
|
|
image:
|
|
repo: mariadb
|
|
tag: "10.11"
|
|
storageClass: ~
|
|
auth:
|
|
secretName: ""
|
|
secretKeys:
|
|
username: "MARIADB_USER"
|
|
password: "MARIADB_PASSWORD"
|
|
root_password: "MARIADB_ROOT_PASSWORD"
|
|
database: "MARIADB_DATABASE"
|
|
env:
|
|
MARIADB_AUTO_UPGRADE: "1"
|
|
MARIADB_INITDB_SKIP_TZINFO: "1"
|