2021-07-01 18:26:22 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/photoprism
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- image tag
|
2022-01-10 16:23:37 +00:00
|
|
|
tag: v20220107@sha256:a6bfc44e4358341bd0e359d48805ff3b099e4ea3a4735ea843db0a766b06e4fe
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2021-10-11 18:31:55 +00:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
2021-12-11 12:49:05 +00:00
|
|
|
secret:
|
|
|
|
# -- Initial admin password. **BE SURE TO CHANGE THIS!**
|
|
|
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- environment variables. See [image docs](https://docs.photoprism.org/getting-started/config-options/) for more details.
|
|
|
|
# @default -- See below
|
|
|
|
env:
|
|
|
|
# -- Set the container timezone
|
|
|
|
TZ: UTC
|
|
|
|
# -- Photoprism originals path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_ORIGINALS_PATH: "/photoprism/originals"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism import path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_IMPORT_PATH: "/photoprism/import"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism temp path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_TEMP_PATH: "/photoprism/temp"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism storage path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_STORAGE_PATH: "/assets/storage"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism sidecar path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_SIDECAR_PATH: "/assets/sidecar"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism cache path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_CACHE_PATH: "/assets/cache"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism config path
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_CONFIG_PATH: "/assets/config"
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism backup path
|
2021-12-19 22:52:38 +00:00
|
|
|
PROTOPRISM_BACKUP_PATH: "/assets/backup"
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- Disable authentication / password protection
|
2021-12-19 22:52:38 +00:00
|
|
|
PHOTOPRISM_PUBLIC: false
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- Sets UID Photoprism runs under.
|
|
|
|
UID: # 1000
|
|
|
|
# -- Sets GID Photoprism runs under.
|
|
|
|
GID: # 1000
|
2021-11-28 16:17:20 +00:00
|
|
|
PHOTOPRISM_DATABASE_DRIVER: "mysql" # Use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved performance
|
|
|
|
PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB or MySQL database schema name
|
|
|
|
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB or MySQL database user name
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 2342
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 2342
|
2021-07-01 18:26:22 +00:00
|
|
|
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
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"
|