nextcloud on local nfs

This commit is contained in:
2024-05-02 14:35:54 +02:00
parent f8565482d3
commit b5fe154bce

View File

@ -59,7 +59,7 @@ spec:
protocol: TCP
volumeMounts:
- mountPath: /var/lib/mysql
name: nextcloud-pvc
name: nextcloud
subPath: db-storage
- image: redis:alpine
name: redis
@ -98,15 +98,19 @@ spec:
resources: {}
volumeMounts:
- mountPath: /var/www/html
name: nextcloud-pvc
name: nextcloud
subPath: html
- mountPath: /var/www/html/data
name: nextcloud-pvc
subPath: data
name: nextcloud-data
restartPolicy: Always
volumes:
- name: nextcloud-pvc
- name: nextcloud
nfs:
server: 192.168.178.100
path: /nextcloud
readOnly: false
- name: nextcloud-data
nfs:
server: 192.168.178.4
path: /mnt/storage/service/nextcloud
path: /mnt/storage/service/nextcloud/data
readOnly: false