NFS Share direkt eingebunden

This commit is contained in:
borgal
2021-09-29 09:34:48 +00:00
parent 71035e714e
commit 57ef6b7f71
2 changed files with 12 additions and 2 deletions

View File

@@ -2,4 +2,7 @@ MYSQL_PASSWORD=changeMe
MYSQL_DATABASE=nextcloud MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud MYSQL_USER=nextcloud
MYSQL_ROOT_PASSWORD=changeMe MYSQL_ROOT_PASSWORD=changeMe
NFS_SERVER=192.168.0.xxx # oder hostname oder Domain
PFAD=/Pfad/zum/Ordner

View File

@@ -18,6 +18,8 @@ services:
cloud_redis: cloud_redis:
image: redis:alpine image: redis:alpine
volumes:
- ./redis:/data
container_name: cloud_redis container_name: cloud_redis
restart: always restart: always
@@ -42,4 +44,9 @@ services:
volumes: volumes:
cloud: cloud:
external: true name: cloud
driver: local
driver_opts:
type: nfs
o: addr=${NFS_SERVER},rw
device: ":${PFAD}"