62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/photoprism
|
||
|
tag: v220901@sha256:c83d3c911b91460f2b043a048224b37516bff40f1676330ea1e790145278c5fa
|
||
|
pullPolicy: IfNotPresent
|
||
|
|
||
|
securityContext:
|
||
|
readOnlyRootFilesystem: false
|
||
|
|
||
|
secretEnv:
|
||
|
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"
|
||
|
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"
|
||
|
|
||
|
portal:
|
||
|
enabled: true
|