60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/photoprism
|
|
tag: v220302@sha256:f05558b5266dfa3a1612be2de98099e864a6b554a9df6df2409b4a2b32804848
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
secret:
|
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
|
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.podSecurityContext.runAsUser }}"
|
|
PHOTOPRISM_GID: "{{ .Values.podSecurityContext.runAsGroup }}"
|
|
PHOTOPRISM_UMASK: "{{ .Values.env.UMASK }}"
|
|
PHOTOPRISM_DATABASE_DRIVER: "mysql"
|
|
PHOTOPRISM_DATABASE_NAME: "photoprism"
|
|
PHOTOPRISM_DATABASE_USER: "photoprism"
|
|
|
|
envValueFrom:
|
|
PHOTOPRISM_DATABASE_SERVER:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: plainporthost
|
|
PHOTOPRISM_DATABASE_PASSWORD:
|
|
secretKeyRef:
|
|
name: mariadbcreds
|
|
key: mariadb-password
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 2342
|
|
targetPort: 2342
|
|
|
|
persistence:
|
|
storage:
|
|
enabled: true
|
|
mountPath: "/assets"
|
|
temp:
|
|
enabled: true
|
|
mountPath: "/photoprism/temp"
|
|
type: emptyDir
|
|
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: photoprism
|
|
mariadbDatabase: photoprism
|
|
existingSecret: "mariadbcreds"
|