updated some config details

This commit is contained in:
2023-01-28 13:40:44 +00:00
parent 74c7806ed0
commit 326882f240
2 changed files with 29 additions and 39 deletions
+7 -12
View File
@@ -5,29 +5,24 @@ volumes:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/swarm/stacks/nextcloud/nchome
ncconfig:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/swarm/stacks/nextcloud/ncconfig
device: :/dockerstorage/nextcloud/nchome
ncdata:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
o: addr=maurice,nfsvers=4
device: :/nextcloud_data
ncredis:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/swarm/stacks/nextcloud/redis
device: :/dockerstorage/nextcloud/redis
ncdatabase:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/swarm/stacks/nextcloud/ncdatabase
device: :/dockerstorage/nextcloud/ncdatabase
pictures:
driver_opts:
@@ -46,7 +41,6 @@ services:
- TZ=Europe/Berlin #change Time Zone if needed
- REDIS_HOST=redis
volumes:
# - ncconfig:/var/www/html/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
- ncdata:/var/www/html/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
- nchome:/var/www/html #/srv/dev-disk-by-label-disk1 needs to be adjusted
# NAS shares
@@ -66,11 +60,12 @@ services:
- ncredis:/var/lib/redis
mariadb:
user: "1000:100"
image: ghcr.io/linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=1000 #change PUID if needed
- PGID=1000 #change PGID if needed
# - PUID=1000 #change PUID if needed
# - PGID=100 #change PGID if needed
- MARIADB_ROOT_PASSWORD="dbpassword"
- MYSQL_ROOT_PASSWORD=mariadbpassword #change password
- TZ=Europe/Berlin #Change Time Zone if needed