feat(vaultwarden): Configure local files
When loading Vaultwarden on the cluster, it has been judged to be better to have DB files locally, on top of the longhorn backup. This makes data persistency much easier on the long term.
This commit is contained in:
parent
20f32fd24b
commit
fc36d7104b
@ -32,4 +32,10 @@ spec:
|
|||||||
value: "example"
|
value: "example"
|
||||||
- name: MARIADB_DATABASE
|
- name: MARIADB_DATABASE
|
||||||
value: "vaultwarden"
|
value: "vaultwarden"
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: "/var/lib/mysql"
|
||||||
|
name: vaultwarden-pv
|
||||||
|
volumes:
|
||||||
|
- name: vaultwarden-pv
|
||||||
|
hostPath:
|
||||||
|
path: "/mnt/vaultwarden"
|
||||||
|
Loading…
Reference in New Issue
Block a user