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
|
2021-12-07 10:17:24 +00:00
|
|
|
tag: v20211203@sha256:a1455179da40abe39c1a8750e9f9b8134d3bfb506a0e642dcd5fc3b69579b571
|
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
|
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"
|