63 lines
2.0 KiB
YAML
63 lines
2.0 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/photoprism
|
||
|
tag: v221118@sha256:eed14e57bf198d5263bbd5e6631a77f78a3bb812556cfc1d3267e107e5b23baa
|
||
|
pullPolicy: IfNotPresent
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 2342
|
||
|
targetPort: 2342
|
||
|
persistence:
|
||
|
storage:
|
||
|
enabled: true
|
||
|
mountPath: "/assets"
|
||
|
photoprismtemp:
|
||
|
enabled: true
|
||
|
mountPath: "/photoprism_temp"
|
||
|
type: emptyDir
|
||
|
mariadb:
|
||
|
enabled: true
|
||
|
mariadbUsername: photoprism
|
||
|
mariadbDatabase: photoprism
|
||
|
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|
||
|
securityContext:
|
||
|
container:
|
||
|
readOnlyRootFilesystem: false
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
env:
|
||
|
HOME: "/photoprism"
|
||
|
PHOTOPRISM_ORIGINALS_PATH: "/photoprism/originals"
|
||
|
PHOTOPRISM_IMPORT_PATH: "/photoprism/import"
|
||
|
PHOTOPRISM_TEMP_PATH: "/photoprism_temp"
|
||
|
PHOTOPRISM_STORAGE_PATH: "/assets/storage"
|
||
|
PHOTOPRISM_SIDECAR_PATH: "/assets/sidecar"
|
||
|
PHOTOPRISM_CACHE_PATH: "/assets/cache"
|
||
|
PHOTOPRISM_CONFIG_PATH: "/assets/config"
|
||
|
PROTOPRISM_BACKUP_PATH: "/assets/backup"
|
||
|
PHOTOPRISM_PUBLIC: false
|
||
|
PHOTOPRISM_UID: "{{ .Values.securityContext.container.runAsUser }}"
|
||
|
PHOTOPRISM_GID: "{{ .Values.securityContext.container.runAsGroup }}"
|
||
|
PHOTOPRISM_UMASK: "{{ .Values.securityContext.container.UMASK }}"
|
||
|
PHOTOPRISM_DATABASE_DRIVER: "mysql"
|
||
|
PHOTOPRISM_DATABASE_NAME: "photoprism"
|
||
|
PHOTOPRISM_DATABASE_USER: "photoprism"
|
||
|
PHOTOPRISM_DATABASE_SERVER:
|
||
|
secretKeyRef:
|
||
|
expandObjectName: false
|
||
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
||
|
key: plainporthost
|
||
|
PHOTOPRISM_DATABASE_PASSWORD:
|
||
|
secretKeyRef:
|
||
|
expandObjectName: false
|
||
|
name: '{{ printf "%s-%s" .Release.Name "mariadbcreds" }}'
|
||
|
key: mariadb-password
|
||
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|