Skip to content

Commit

Permalink
Config: Update docker-compose.yml example files #4243
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mayer <michael@photoprism.app>
  • Loading branch information
lastzero committed May 19, 2024
1 parent 1790990 commit 66a739d
Show file tree
Hide file tree
Showing 25 changed files with 91 additions and 37 deletions.
2 changes: 1 addition & 1 deletion docker/demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion docker/demo/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion docker/demo/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion docker/demo/unstable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/bullseye/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/impish/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/lunar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/mantic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docker/photoprism/noble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions internal/config/config_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions internal/config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}}, {
Expand All @@ -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"),
}}, {
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/arm64/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/armv7/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/macos/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/nvidia/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup/docker/portainer/stack.env
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/scheduler/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion setup/docker/sqlite/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66a739d

Please sign in to comment.