2021-07-01 18:26:22 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/photoprism
|
2022-03-07 01:01:33 +00:00
|
|
|
tag: v20220121@sha256:ed219b601defa5d2a6e5680d5882a24181c2202852f51a07ba4cc98e80537bd6
|
2021-07-01 18:26:22 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2021-10-11 18:31:55 +00:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
2021-12-11 12:49:05 +00:00
|
|
|
secret:
|
|
|
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
2021-07-01 18:26:22 +00:00
|
|
|
env:
|
2022-01-19 16:44:50 +00:00
|
|
|
HOME: "/photoprism"
|
2021-12-19 22:52:38 +00:00
|
|
|
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
|
2022-01-19 16:44:50 +00:00
|
|
|
PHOTOPRISM_UID: "{{ .Values.podSecurityContext.runAsUser }}"
|
|
|
|
PHOTOPRISM_GID: "{{ .Values.podSecurityContext.runAsGroup }}"
|
|
|
|
PHOTOPRISM_UMASK: "{{ .Values.env.UMASK }}"
|
|
|
|
PHOTOPRISM_DATABASE_DRIVER: "mysql"
|
|
|
|
PHOTOPRISM_DATABASE_NAME: "photoprism"
|
|
|
|
PHOTOPRISM_DATABASE_USER: "photoprism"
|
2021-11-28 16:17:20 +00:00
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
PHOTOPRISM_DATABASE_SERVER:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: plainporthost
|
|
|
|
PHOTOPRISM_DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: mariadbcreds
|
|
|
|
key: mariadb-password
|
2021-07-01 18:26:22 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 2342
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 2342
|
2021-07-01 18:26:22 +00:00
|
|
|
|
|
|
|
persistence:
|
2021-10-12 18:49:08 +00:00
|
|
|
storage:
|
2021-08-29 12:02:17 +00:00
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/assets"
|
2021-10-12 18:49:08 +00:00
|
|
|
temp:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/photoprism/temp"
|
2021-10-12 18:49:08 +00:00
|
|
|
type: emptyDir
|
2021-11-28 16:17:20 +00:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
enabled: true
|
|
|
|
mariadbUsername: photoprism
|
|
|
|
mariadbDatabase: photoprism
|
|
|
|
existingSecret: "mariadbcreds"
|