mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[photoprism] Add MariaDB support to Photoprism (#1441)
* Add MariaDB support to Photoprism * Bump Photoprism to latest stable tag
This commit is contained in:
parent
28236d89fe
commit
af1313a8f0
@ -1,8 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: "20211018"
|
appVersion: "20220121"
|
||||||
description: PhotoPrism® is a server-based application for browsing, organizing and sharing your personal photo collection
|
description: PhotoPrism® is a server-based application for browsing, organizing and sharing your personal photo collection
|
||||||
name: photoprism
|
name: photoprism
|
||||||
version: 6.3.0
|
version: 6.4.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- photos
|
- photos
|
||||||
@ -21,7 +21,13 @@ dependencies:
|
|||||||
- name: common
|
- name: common
|
||||||
repository: https://library-charts.k8s-at-home.com
|
repository: https://library-charts.k8s-at-home.com
|
||||||
version: 4.3.0
|
version: 4.3.0
|
||||||
|
- name: mariadb
|
||||||
|
version: 10.2.0
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: mariadb.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version `4.3.0`.
|
description: Bumped application version to `20220121`.
|
||||||
|
- kind: added
|
||||||
|
description: Added MariaDB database support.
|
||||||
|
@ -82,6 +82,11 @@ N/A
|
|||||||
| env.PHOTOPRISM_ORIGINALS_PATH | string | `"/photoprism/originals"` | Photoprism originals path |
|
| env.PHOTOPRISM_ORIGINALS_PATH | string | `"/photoprism/originals"` | Photoprism originals path |
|
||||||
| env.PHOTOPRISM_PUBLIC | string | `"false"` | Disable authentication / password protection |
|
| env.PHOTOPRISM_PUBLIC | string | `"false"` | Disable authentication / password protection |
|
||||||
| env.PHOTOPRISM_STORAGE_PATH | string | `"/photoprism/storage"` | Photoprism storage path |
|
| env.PHOTOPRISM_STORAGE_PATH | string | `"/photoprism/storage"` | Photoprism storage path |
|
||||||
|
| env.PHOTOPRISM_DATABASE_DRIVER | string | `"sqlite"` | Database driver (sqlite, mysql) |
|
||||||
|
| env.PHOTOPRISM_DATABASE_SERVER | string | `"photoprism-mariadb:3306"` | Database host incl. port |
|
||||||
|
| env.PHOTOPRISM_DATABASE_NAME | string | `"photoprism"` | Database schema name |
|
||||||
|
| env.PHOTOPRISM_DATABASE_USER | string | `"photoprism"` | Database user name |
|
||||||
|
| env.PHOTOPRISM_DATABASE_PASSWORD | string | `"photoprism"` | Database user password |
|
||||||
| env.TZ | string | `"UTC"` | Set the container timezone |
|
| env.TZ | string | `"UTC"` | Set the container timezone |
|
||||||
| env.UID | string | `nil` | Sets UID Photoprism runs under. |
|
| env.UID | string | `nil` | Sets UID Photoprism runs under. |
|
||||||
| env.UMASK | string | `nil` | Sets UMASK. |
|
| env.UMASK | string | `nil` | Sets UMASK. |
|
||||||
@ -89,6 +94,7 @@ N/A
|
|||||||
| image.repository | string | `"photoprism/photoprism"` | image repository |
|
| image.repository | string | `"photoprism/photoprism"` | image repository |
|
||||||
| image.tag | string | `"20211018"` | image tag |
|
| image.tag | string | `"20211018"` | image tag |
|
||||||
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
|
||||||
|
| mariadb | object | See values.yaml | Enable and configure mariadb database subchart under this key. For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb) |
|
||||||
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
|
||||||
| service | object | See values.yaml | Configures service settings for the chart. |
|
| service | object | See values.yaml | Configures service settings for the chart. |
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@ image:
|
|||||||
# -- image repository
|
# -- image repository
|
||||||
repository: photoprism/photoprism
|
repository: photoprism/photoprism
|
||||||
# -- image tag
|
# -- image tag
|
||||||
tag: "20211018"
|
# @default -- chart.appVersion
|
||||||
|
tag:
|
||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
@ -32,6 +33,16 @@ env:
|
|||||||
GID: # 1000
|
GID: # 1000
|
||||||
# -- Sets UMASK.
|
# -- Sets UMASK.
|
||||||
UMASK: # 0000
|
UMASK: # 0000
|
||||||
|
# -- Database driver (sqlite, mysql)
|
||||||
|
PHOTOPRISM_DATABASE_DRIVER: sqlite
|
||||||
|
# -- Database host incl. port
|
||||||
|
PHOTOPRISM_DATABASE_SERVER: photoprism-mariadb:3306
|
||||||
|
# -- Database schema name
|
||||||
|
PHOTOPRISM_DATABASE_NAME: photoprism
|
||||||
|
# -- Database user name
|
||||||
|
PHOTOPRISM_DATABASE_USER: photoprism
|
||||||
|
# -- Database user password
|
||||||
|
PHOTOPRISM_DATABASE_PASSWORD: photoprism
|
||||||
|
|
||||||
# -- Configures service settings for the chart.
|
# -- Configures service settings for the chart.
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
@ -57,3 +68,19 @@ persistence:
|
|||||||
originals:
|
originals:
|
||||||
enabled: false
|
enabled: false
|
||||||
mountPath: "/photoprism/originals"
|
mountPath: "/photoprism/originals"
|
||||||
|
|
||||||
|
# -- Enable and configure mariadb database subchart under this key.
|
||||||
|
# For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb)
|
||||||
|
# @default -- See values.yaml
|
||||||
|
mariadb:
|
||||||
|
enabled: false
|
||||||
|
architecture: standalone
|
||||||
|
auth:
|
||||||
|
database: photoprism
|
||||||
|
username: photoprism
|
||||||
|
password: photoprism
|
||||||
|
rootPassword: photoprism
|
||||||
|
primary:
|
||||||
|
persistence:
|
||||||
|
enabled: false
|
||||||
|
# storageClass: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user