running cluster with immich, photoprism and authentik
This commit is contained in:
@@ -4,13 +4,14 @@ metadata:
|
||||
name: mariadb
|
||||
namespace: photoprism
|
||||
spec:
|
||||
storageClassName: local-path
|
||||
volumeName: mariadb-pv
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
||||
storage: 20Gi # Match or be less than the PV's capacity
|
||||
volumeName: mariadb-db-pv # Bind explicitly to the PV created above
|
||||
storageClassName: nfs
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -42,6 +43,10 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
name: mariadb
|
||||
securityContext:
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1000
|
||||
# fsGroup: 2000
|
||||
volumes:
|
||||
- name: mariadb
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user