fixed nextcoud compose
This commit is contained in:
@@ -1,22 +1,33 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
nccdata:
|
nchome:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=maurice,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/nextcloudtest/nextcloud
|
device: :/swarm/stacks/nextcloud/nchome
|
||||||
|
ncconfig:
|
||||||
|
driver_opts:
|
||||||
|
type: nfs
|
||||||
|
o: addr=dockerstorage,nfsvers=4
|
||||||
|
device: :/swarm/stacks/nextcloud/ncconfig
|
||||||
|
ncdata:
|
||||||
|
driver_opts:
|
||||||
|
type: nfs
|
||||||
|
o: addr=dockerstorage,nfsvers=4
|
||||||
|
device: :/swarm/stacks/nextcloud/ncdata_tmp
|
||||||
|
|
||||||
ncredis:
|
ncredis:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=maurice,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/nextcloudtest/redis
|
device: :/swarm/stacks/nextcloud/redis
|
||||||
|
|
||||||
nctestcdb:
|
ncdatabase:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: nfs
|
||||||
o: addr=maurice,nfsvers=4
|
o: addr=dockerstorage,nfsvers=4
|
||||||
device: :/nextcloudtestdb
|
device: :/swarm/stacks/nextcloud/ncdatabase
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -30,12 +41,12 @@ services:
|
|||||||
- TZ=Europe/Berlin #change Time Zone if needed
|
- TZ=Europe/Berlin #change Time Zone if needed
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
volumes:
|
volumes:
|
||||||
#- nccdata/config:/var/www/html/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
- ncconfig:/var/www/html/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
||||||
#- nccdata/data:/var/www/html/data #/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
|
||||||
- nccdata:/var/www/html #/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
|
# NAS shares
|
||||||
# - /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/pictures:/pictures
|
#- /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/pictures:/pictures
|
||||||
# - /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/video:/video
|
#- /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/video:/video
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
ports: # uncomment this and the next line if you want to bypass the proxy
|
ports: # uncomment this and the next line if you want to bypass the proxy
|
||||||
@@ -59,9 +70,6 @@ services:
|
|||||||
- MYSQL_ROOT_PASSWORD=mariadbpassword #change password
|
- MYSQL_ROOT_PASSWORD=mariadbpassword #change password
|
||||||
- TZ=Europe/Berlin #Change Time Zone if needed
|
- TZ=Europe/Berlin #Change Time Zone if needed
|
||||||
volumes:
|
volumes:
|
||||||
- nctestcdb:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
- ncdatabase:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# ports:
|
|
||||||
# - 5306:3306
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user