feat(photoprism): use mariadb instead of sqllite (#1419)
* feat(photoprism): use mariadb instead of sqllite BREAKING-CHANGE: will wipe data due to database change * update common * bump mariadb * set existing secret
This commit is contained in:
committed by
GitHub
parent
6a8c55f583
commit
b515e52727
@@ -3,7 +3,11 @@ appVersion: "20211018"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.9.3
|
||||
version: 8.9.4
|
||||
- condition: mariadb.enabled
|
||||
name: mariadb
|
||||
repository: https://truecharts.org/
|
||||
version: 1.0.14
|
||||
description: "PhotoPrism\xC2\xAE is a server-based application for browsing, organizing\
|
||||
\ and sharing your personal photo collection"
|
||||
home: https://github.com/truechartsapps/tree/master/charts/stable/photoprism
|
||||
@@ -22,7 +26,7 @@ name: photoprism
|
||||
sources:
|
||||
- https://github.com/photoprism/photoprism
|
||||
- https://hub.docker.com/r/photoprism/photoprism
|
||||
version: 5.0.12
|
||||
version: 6.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -47,6 +47,19 @@ env:
|
||||
GID: # 1000
|
||||
# -- Sets UMASK.
|
||||
UMASK: # 0000
|
||||
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
|
||||
|
||||
# -- Configures service settings for the chart.
|
||||
# @default -- See values.yaml
|
||||
@@ -67,3 +80,9 @@ persistence:
|
||||
enabled: true
|
||||
mountPath: "/photoprism/temp"
|
||||
type: emptyDir
|
||||
|
||||
mariadb:
|
||||
enabled: true
|
||||
mariadbUsername: photoprism
|
||||
mariadbDatabase: photoprism
|
||||
existingSecret: "mariadbcreds"
|
||||
|
||||
Reference in New Issue
Block a user