2021-08-09 13:32:23 +02:00
|
|
|
spec:
|
2021-08-09 13:36:08 +02:00
|
|
|
name: "photoprism-ce"
|
|
|
|
databases:
|
|
|
|
- name: db
|
|
|
|
engine: "MySQL"
|
2021-08-09 13:32:23 +02:00
|
|
|
services:
|
2021-08-09 13:36:08 +02:00
|
|
|
- name: photoprism
|
2021-08-09 13:32:23 +02:00
|
|
|
image:
|
|
|
|
registry_type: "DOCKER_HUB"
|
|
|
|
registry: "photoprism"
|
|
|
|
repository: "photoprism"
|
|
|
|
tag: "preview" # Change to "stable" for older, well tested builds
|
|
|
|
http_port: 2342
|
|
|
|
routes:
|
|
|
|
- path: "/"
|
|
|
|
instance_size_slug: "basic-xs"
|
|
|
|
envs:
|
|
|
|
- key: "PHOTOPRISM_SITE_URL"
|
|
|
|
value: ${APP_URL}
|
|
|
|
- key: "PHOTOPRISM_ADMIN_PASSWORD"
|
|
|
|
value: "insecure" # PLEASE CHANGE: Your initial admin password (min 4 characters)
|
|
|
|
type: SECRET
|
|
|
|
- key: "PHOTOPRISM_ORIGINALS_LIMIT"
|
|
|
|
value: "5000" # File size limit for originals in MB (increase for high-res video)
|
|
|
|
- key: "PHOTOPRISM_HTTP_COMPRESSION"
|
|
|
|
value: "gzip" # Improves transfer speed and bandwidth utilization (none or gzip)
|
|
|
|
- key: "PHOTOPRISM_DEBUG"
|
|
|
|
value: "false" # Run in debug mode (shows additional log messages)
|
|
|
|
- key: "PHOTOPRISM_PUBLIC"
|
|
|
|
value: "false" # No authentication required (disables password protection)
|
|
|
|
- key: "PHOTOPRISM_READONLY"
|
|
|
|
value: "false" # Don't modify originals directory (reduced functionality)
|
|
|
|
- key: "PHOTOPRISM_EXPERIMENTAL"
|
|
|
|
value: "false" # Enables experimental features
|
|
|
|
- key: "PHOTOPRISM_DISABLE_WEBDAV"
|
|
|
|
value: "false" # Disables built-in WebDAV server
|
|
|
|
- key: "PHOTOPRISM_DISABLE_SETTINGS"
|
|
|
|
value: "false" # Disables Settings in Web UI
|
|
|
|
- key: "PHOTOPRISM_DISABLE_TENSORFLOW"
|
|
|
|
value: "false" # Disables using TensorFlow for image classification
|
|
|
|
- key: "PHOTOPRISM_DETECT_NSFW"
|
|
|
|
value: "false" # Flag photos as private that MAY be offensive (requires TensorFlow)
|
|
|
|
- key: "PHOTOPRISM_UPLOAD_NSFW"
|
|
|
|
value: "true" # Allow uploads that MAY be offensive
|
|
|
|
- key: "PHOTOPRISM_DATABASE_DRIVER"
|
|
|
|
value: "mysql"
|
|
|
|
- key: "PHOTOPRISM_DATABASE_SERVER"
|
2021-08-09 13:36:08 +02:00
|
|
|
value: ${db.HOSTNAME}
|
2021-08-09 13:32:23 +02:00
|
|
|
- key: "PHOTOPRISM_DATABASE_NAME"
|
2021-08-09 13:36:08 +02:00
|
|
|
value: ${db.DATABASE}
|
2021-08-09 13:32:23 +02:00
|
|
|
- key: "PHOTOPRISM_DATABASE_USER"
|
2021-08-09 13:36:08 +02:00
|
|
|
value: ${db.USERNAME}
|
2021-08-09 13:32:23 +02:00
|
|
|
- key: "PHOTOPRISM_DATABASE_PASSWORD"
|
2021-08-09 13:36:08 +02:00
|
|
|
value: ${db.PASSWORD}"
|