Updated nextcloud and added photoprism
This commit is contained in:
@@ -9,8 +9,8 @@ volumes:
|
||||
ncdata:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=maurice,nfsvers=4
|
||||
device: :/nextcloud_data
|
||||
o: addr=nextcloudstorage,nfsvers=4
|
||||
device: :/nextcloud_storage
|
||||
|
||||
ncredis:
|
||||
driver_opts:
|
||||
@@ -18,19 +18,6 @@ volumes:
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/dockerstorage/nextcloud/redis
|
||||
|
||||
ncdatabase:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/dockerstorage/nextcloud/ncdatabase
|
||||
|
||||
pictures:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=maurice,nfsvers=4
|
||||
device: :/pictures
|
||||
|
||||
|
||||
services:
|
||||
nextcloud:
|
||||
image: nextcloud
|
||||
@@ -44,7 +31,7 @@ services:
|
||||
- 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
|
||||
- pictures:/pictures
|
||||
# - pictures:/pictures
|
||||
#- /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/video:/video
|
||||
depends_on:
|
||||
- mariadb
|
||||
@@ -59,17 +46,3 @@ services:
|
||||
volumes:
|
||||
- ncredis:/var/lib/redis
|
||||
|
||||
mariadb:
|
||||
user: "1000:100"
|
||||
image: ghcr.io/linuxserver/mariadb
|
||||
container_name: nextclouddb
|
||||
environment:
|
||||
# - 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
|
||||
volumes:
|
||||
- ncdatabase:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
Reference in New Issue
Block a user