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
|
|
|
|
repository: photoprism/photoprism
|
|
|
|
# -- image tag
|
2021-09-11 11:00:39 +00:00
|
|
|
tag: "20210523"@sha256:42
|
2021-07-01 18:26:22 +00:00
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2021-09-10 18:10:04 +00:00
|
|
|
securityContext:
|
|
|
|
privileged: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
allowPrivilegeEscalation: true
|
|
|
|
runAsNonRoot: true
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 568
|
|
|
|
runAsGroup: 568
|
|
|
|
fsGroup: 568
|
|
|
|
supplementalGroups: []
|
|
|
|
fsGroupChangePolicy: "OnRootMismatch"
|
|
|
|
|
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 storage path
|
|
|
|
PHOTOPRISM_STORAGE_PATH: /photoprism/storage
|
|
|
|
# -- Photoprism originals path
|
|
|
|
PHOTOPRISM_ORIGINALS_PATH: /photoprism/originals
|
|
|
|
# -- 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
|
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 2342
|
|
|
|
|
|
|
|
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
persistence:
|
|
|
|
config:
|
2021-08-29 12:02:17 +00:00
|
|
|
enabled: true
|
|
|
|
type: pvc
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: "100Gi"
|
2021-07-01 18:26:22 +00:00
|
|
|
mountPath: /photoprism/storage
|
|
|
|
|
|
|
|
originals:
|
|
|
|
enabled: false
|
|
|
|
mountPath: "/photoprism/originals"
|