nextcloud on local nfs
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user