2021-07-01 18:26:22 +00:00
|
|
|
#
|
|
|
|
# IMPORTANT NOTE
|
|
|
|
#
|
|
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
|
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
|
|
|
#
|
|
|
|
|
|
|
|
image:
|
|
|
|
# -- image repository
|
2021-09-11 11:52:00 +00:00
|
|
|
repository: docker.io/photoprism/photoprism
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- image tag
|
2021-11-30 21:35:51 +00:00
|
|
|
tag: 20211130@sha256:cd3e38e0710279372c17d19fbe6e05010689f7b385a13c9fca325196dff2afb1
|
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-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
|
|
|
|
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
|
2021-10-12 18:49:08 +00:00
|
|
|
# -- Photoprism import path
|
|
|
|
PHOTOPRISM_IMPORT_PATH: /photoprism/import
|
|
|
|
# -- Photoprism temp path
|
|
|
|
PHOTOPRISM_TEMP_PATH: /photoprism/temp
|
|
|
|
# -- Photoprism storage path
|
|
|
|
PHOTOPRISM_STORAGE_PATH: /assets/storage
|
|
|
|
# -- Photoprism sidecar path
|
|
|
|
PHOTOPRISM_SIDECAR_PATH: /assets/sidecar
|
|
|
|
# -- Photoprism cache path
|
|
|
|
PHOTOPRISM_CACHE_PATH: /assets/cache
|
|
|
|
# -- Photoprism config path
|
|
|
|
PHOTOPRISM_CONFIG_PATH: /assets/config
|
|
|
|
# -- Photoprism backup path
|
|
|
|
PROTOPRISM_BACKUP_PATH: /assets/backup
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- Initial admin password. **BE SURE TO CHANGE THIS!**
|
|
|
|
PHOTOPRISM_ADMIN_PASSWORD: "please-change"
|
|
|
|
# -- Disable authentication / password protection
|
|
|
|
PHOTOPRISM_PUBLIC: "false"
|
|
|
|
# -- Sets UID Photoprism runs under.
|
|
|
|
UID: # 1000
|
|
|
|
# -- Sets GID Photoprism runs under.
|
|
|
|
GID: # 1000
|
|
|
|
# -- Sets UMASK.
|
|
|
|
UMASK: # 0000
|
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"
|