82 lines
2.4 KiB
YAML
82 lines
2.4 KiB
YAML
image:
|
|
# -- image repository
|
|
repository: tccr.io/truecharts/photoprism
|
|
# -- image tag
|
|
tag: v20211130@sha256:97fa3752e28cd26282f06b87f299c63f5b8413b84de09acd8b71375a2b77540f
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
# -- environment variables. See [image docs](https://docs.photoprism.org/getting-started/config-options/) for more details.
|
|
# @default -- See below
|
|
env:
|
|
# -- Set the container timezone
|
|
TZ: UTC
|
|
# -- Photoprism originals path
|
|
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
|
|
# -- Photoprism import path
|
|
PHOTOPRISM_IMPORT_PATH: /photoprism/import
|
|
# -- Photoprism temp path
|
|
PHOTOPRISM_TEMP_PATH: /photoprism/temp
|
|
# -- Photoprism storage path
|
|
PHOTOPRISM_STORAGE_PATH: /assets/storage
|
|
# -- Photoprism sidecar path
|
|
PHOTOPRISM_SIDECAR_PATH: /assets/sidecar
|
|
# -- Photoprism cache path
|
|
PHOTOPRISM_CACHE_PATH: /assets/cache
|
|
# -- Photoprism config path
|
|
PHOTOPRISM_CONFIG_PATH: /assets/config
|
|
# -- Photoprism backup path
|
|
PROTOPRISM_BACKUP_PATH: /assets/backup
|
|
# -- Initial admin password. **BE SURE TO CHANGE THIS!**
|
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
|
# -- Disable authentication / password protection
|
|
PHOTOPRISM_PUBLIC: "false"
|
|
# -- Sets UID Photoprism runs under.
|
|
UID: # 1000
|
|
# -- Sets GID Photoprism runs under.
|
|
GID: # 1000
|
|
# -- Sets UMASK.
|
|
UMASK: # 0000
|
|
PHOTOPRISM_DATABASE_DRIVER: "mysql" # Use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved performance
|
|
PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB or MySQL database schema name
|
|
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB or MySQL database user name
|
|
|
|
envValueFrom:
|
|
PHOTOPRISM_DATABASE_SERVER:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainporthost
|
|
PHOTOPRISM_DATABASE_PASSWORD:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 2342
|
|
targetPort: 2342
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
persistence:
|
|
storage:
|
|
enabled: true
|
|
mountPath: "/assets"
|
|
temp:
|
|
enabled: true
|
|
mountPath: "/photoprism/temp"
|
|
type: emptyDir
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: photoprism
|
|
mariadbDatabase: photoprism
|
|
existingSecret: "mariadbcreds"
|