Config: Update docker-compose.yml example files #4243

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2024-05-19 18:55:14 +02:00
parent 1790990dcc
commit 66a739d02f
25 changed files with 91 additions and 37 deletions

View file

@ -17,7 +17,7 @@ ENV TF_CPP_MIN_LOG_LEVEL=2 \
PHOTOPRISM_THUMB_SIZE=4096 \
PHOTOPRISM_THUMB_SIZE_UNCACHED=4096 \
PHOTOPRISM_JPEG_SIZE=4096 \
PHOTOPRISM_JPEG_QUALITY=85 \
PHOTOPRISM_JPEG_QUALITY=87 \
PHOTOPRISM_APP_NAME="Demo" \
PHOTOPRISM_APP_ICON="favicon" \
PHOTOPRISM_SITE_TITLE="PhotoPrism" \

View file

@ -16,7 +16,7 @@ ENV TF_CPP_MIN_LOG_LEVEL=2 \
PHOTOPRISM_THUMB_SIZE=4096 \
PHOTOPRISM_THUMB_SIZE_UNCACHED=4096 \
PHOTOPRISM_JPEG_SIZE=4096 \
PHOTOPRISM_JPEG_QUALITY=85 \
PHOTOPRISM_JPEG_QUALITY=87 \
PHOTOPRISM_APP_NAME="Demo" \
PHOTOPRISM_APP_ICON="favicon" \
PHOTOPRISM_SITE_TITLE="PhotoPrism" \

View file

@ -16,7 +16,7 @@ ENV TF_CPP_MIN_LOG_LEVEL=2 \
PHOTOPRISM_THUMB_SIZE=4096 \
PHOTOPRISM_THUMB_SIZE_UNCACHED=4096 \
PHOTOPRISM_JPEG_SIZE=4096 \
PHOTOPRISM_JPEG_QUALITY=85 \
PHOTOPRISM_JPEG_QUALITY=87 \
PHOTOPRISM_APP_NAME="Demo" \
PHOTOPRISM_APP_ICON="favicon" \
PHOTOPRISM_SITE_TITLE="PhotoPrism" \

View file

@ -16,7 +16,7 @@ ENV TF_CPP_MIN_LOG_LEVEL=2 \
PHOTOPRISM_THUMB_SIZE=4096 \
PHOTOPRISM_THUMB_SIZE_UNCACHED=4096 \
PHOTOPRISM_JPEG_SIZE=4096 \
PHOTOPRISM_JPEG_QUALITY=85 \
PHOTOPRISM_JPEG_QUALITY=87 \
PHOTOPRISM_APP_NAME="Demo" \
PHOTOPRISM_APP_ICON="favicon" \
PHOTOPRISM_SITE_TITLE="PhotoPrism" \

View file

@ -87,8 +87,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy dist files, scripts, and debian backports sources list.

View file

@ -82,8 +82,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy scripts.

View file

@ -82,8 +82,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy scripts.

View file

@ -85,8 +85,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy dist files, scripts, and debian backports sources list.

View file

@ -85,8 +85,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy dist files and scripts.

View file

@ -83,8 +83,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy scripts.

View file

@ -83,8 +83,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy scripts.

View file

@ -83,8 +83,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy scripts.

View file

@ -83,8 +83,8 @@ ENV PHOTOPRISM_ARCH=$TARGETARCH \
PHOTOPRISM_THUMB_UNCACHED="false" \
PHOTOPRISM_WORKERS=0 \
PHOTOPRISM_WAKEUP_INTERVAL=900 \
PHOTOPRISM_AUTO_INDEX=300 \
PHOTOPRISM_AUTO_IMPORT=300 \
PHOTOPRISM_AUTO_INDEX=120 \
PHOTOPRISM_AUTO_IMPORT=150 \
PHOTOPRISM_INIT="https"
# Copy scripts.

View file

@ -20,8 +20,8 @@ const DefaultIndexSchedule = "" // e.g. "0 */3 * * *" for every 3 hours
// DefaultAutoIndexDelay and DefaultAutoImportDelay set the default safety delay duration
// before starting to index/import in the background.
const DefaultAutoIndexDelay = int(5 * 60) // 5 Minutes
const DefaultAutoImportDelay = int(3 * 60) // 3 Minutes
const DefaultAutoIndexDelay = 120 // 2 Minutes
const DefaultAutoImportDelay = 150 // 2.5 Minutes
// MinWakeupInterval and MaxWakeupInterval limit the interval duration
// in which the background worker can be invoked.

View file

@ -221,7 +221,7 @@ var Flags = CliFlags{
}}, {
Flag: cli.StringFlag{
Name: "index-schedule",
Usage: "regular indexing `SCHEDULE` in cron format (e.g. \"@every 3h\" for every 3 hours; \"\" to disable)",
Usage: "indexing `SCHEDULE` in cron format (e.g. \"@every 3h\" for every 3 hours; \"\" to disable)",
Value: DefaultIndexSchedule,
EnvVar: EnvVar("INDEX_SCHEDULE"),
}}, {
@ -233,13 +233,13 @@ var Flags = CliFlags{
}}, {
Flag: cli.IntFlag{
Name: "auto-index",
Usage: "delay before automatically indexing files in `SECONDS` (-1 to disable) when uploading files via WebDAV",
Usage: "delay before automatically indexing files in `SECONDS` when uploading via WebDAV (-1 to disable)",
Value: DefaultAutoIndexDelay,
EnvVar: EnvVar("AUTO_INDEX"),
}}, {
Flag: cli.IntFlag{
Name: "auto-import",
Usage: "delay before automatically importing files in `SECONDS` (-1 to disable) when uploading files via WebDAV",
Usage: "delay before automatically importing files in `SECONDS` when uploading via WebDAV (-1 to disable)",
Value: DefaultAutoImportDelay,
EnvVar: EnvVar("AUTO_IMPORT"),
}}, {

View file

@ -75,7 +75,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server

View file

@ -69,7 +69,13 @@ services:
PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification (requires TensorFlow)
PHOTOPRISM_DISABLE_RAW: "true" # 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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
# PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server

View file

@ -65,7 +65,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
# PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server

View file

@ -60,7 +60,13 @@ services:
PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification (requires TensorFlow)
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
PHOTOPRISM_DATABASE_DRIVER: "mysql" # use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved performance

View file

@ -69,7 +69,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
# PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server

View file

@ -56,7 +56,7 @@ PHOTOPRISM_DISABLE_RAW=false
# enables applying user presets when converting RAW images (reduces performance)
PHOTOPRISM_RAW_PRESETS=false
# a higher value increases the quality and file size of JPEG images and thumbnails (25-100)
PHOTOPRISM_JPEG_QUALITY=85
PHOTOPRISM_JPEG_QUALITY=87
# automatically flags photos as private that MAY be offensive (requires TensorFlow)
PHOTOPRISM_DETECT_NSFW=false
# allows uploads that MAY be offensive (no effect without TensorFlow)

View file

@ -63,7 +63,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
# PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server

View file

@ -61,7 +61,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server

View file

@ -67,7 +67,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
PHOTOPRISM_DATABASE_DRIVER: "mysql" # use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved performance

View file

@ -76,7 +76,13 @@ services:
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_SIDECAR_YAML: "true" # create YAML sidecar files to back up index metadata
PHOTOPRISM_BACKUP_ALBUMS: "true" # create YAML backup files for album metadata
PHOTOPRISM_BACKUP_DATABASE: "true" # create index 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_INDEX_SCHEDULE: "" # indexing SCHEDULE in cron format (e.g. "@every 3h" for every 3 hours; "" to disable)
PHOTOPRISM_AUTO_INDEX: 120 # delay before automatically indexing files in SECONDS when uploading via WebDAV (-1 to disable)
PHOTOPRISM_AUTO_IMPORT: 150 # 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" # allows uploads that MAY be offensive (no effect without TensorFlow)
# PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server