From fdbbd8dd165deadbc902791af816b73fccfed5dc Mon Sep 17 00:00:00 2001 From: Dziad Borowy Date: Mon, 9 Jan 2023 00:20:23 +0000 Subject: [PATCH] . --- apps/cloud/nextcloud.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/cloud/nextcloud.md b/apps/cloud/nextcloud.md index a43b856..080c8b4 100644 --- a/apps/cloud/nextcloud.md +++ b/apps/cloud/nextcloud.md @@ -12,8 +12,9 @@ ## docker-compose.yml +More examplex [here](https://github.com/nextcloud/docker/tree/master/.examples/docker-compose). ```yml -version: '2' +--- services: app: image: nextcloud:latest @@ -36,7 +37,6 @@ services: - REDIS_HOST_PASSWORD=nextcloud # must be set, because of a bug volumes: - ./nextcloud:/var/www/html - - ./data:/var/www/html/data cron: image: nextcloud:latest @@ -60,6 +60,8 @@ services: - MYSQL_PASSWORD=nextcloud - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud + - MARIADB_AUTO_UPGRADE=1 + - MARIADB_DISABLE_UPGRADE_BACKUP=1 redis: image: redis:alpine