fixed nextcloud bugs after last updates and added dedicated start script

This commit is contained in:
2023-07-25 11:55:56 +02:00
parent 74587b66a8
commit 1d6720c5c2
2 changed files with 10 additions and 7 deletions
+7 -7
View File
@@ -6,22 +6,22 @@ volumes:
driver_opts:
type: none
o: bind
device: /nctest/home
# device: /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/dockerstorage/nextcloud/home
# device: /nctest/home
device: /srv/dev-disk-by-uuid-8ad400b8-bff1-4ae4-971c-9002f823ba0c/nextcloud/home
ncdb:
driver: local
driver_opts:
type: none
o: bind
device: /nctest/db
# device: /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/dockerstorage/nextcloud/database
# device: /nctest/db
device: /srv/dev-disk-by-uuid-8ad400b8-bff1-4ae4-971c-9002f823ba0c/nextcloud/database
ncdata:
driver: local
driver_opts:
type: none
o: bind
device: /nctest/storage
# device: /srv/dev-disk-by-uuid-f3ca381b-e85a-4348-8086-833317c5d96e/dockerstorage/nextcloud/storage
# device: /nctest/storage
device: /srv/dev-disk-by-uuid-8ad400b8-bff1-4ae4-971c-9002f823ba0c/nextcloud/storage
services:
@@ -64,7 +64,7 @@ services:
GID: ${MGID}
restart: always
ports:
- 8899:80
- 8888:80
links:
- nextcloud
volumes:
+3
View File
@@ -0,0 +1,3 @@
MUID="$(id -u www-data)" MGID="$(id -g www-data)" docker-compose build --no-cache
MUID="$(id -u www-data)" MGID="$(id -g www-data)" docker-compose up -d --force-recreate