60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/photoprism
|
|
tag: v20220121@sha256:ed219b601defa5d2a6e5680d5882a24181c2202852f51a07ba4cc98e80537bd6
|
|
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"
|