From 121469a2f4e3b67e59e24cd28cd95a1f69105f02 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Mon, 19 Sep 2022 07:14:49 +0200 Subject: [PATCH] fix(nextcloud): update wrong config of app_domains --- apps/nextcloud/config.json | 4 ++-- apps/nextcloud/docker-compose.yml | 2 +- apps/nextcloud/metadata/description.md | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/nextcloud/config.json b/apps/nextcloud/config.json index 38fa1aa2..f70d220b 100644 --- a/apps/nextcloud/config.json +++ b/apps/nextcloud/config.json @@ -5,7 +5,7 @@ "exposable": true, "port": 8083, "id": "nextcloud", - "tipi_version": 3, + "tipi_version": 4, "version": "24.0.4", "categories": ["data"], "description": "Nextcloud is a self-hosted, open source, and fully-featured cloud storage solution for your personal files, office documents, and photos.", @@ -25,7 +25,7 @@ "type": "password", "label": "Password", "max": 50, - "min": 3, + "min": 10, "required": true, "env_variable": "NEXTCLOUD_ADMIN_PASSWORD" } diff --git a/apps/nextcloud/docker-compose.yml b/apps/nextcloud/docker-compose.yml index 09f9bc23..afa11302 100644 --- a/apps/nextcloud/docker-compose.yml +++ b/apps/nextcloud/docker-compose.yml @@ -52,7 +52,7 @@ services: - POSTGRES_DB=nextcloud - NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER} - NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD} - - NEXTCLOUD_TRUSTED_DOMAINS=${INTERNAL_IP}:${APP_PORT} ${APP_DOMAIN} + - NEXTCLOUD_TRUSTED_DOMAINS=${APP_DOMAIN} - TRUSTED_PROXIES=172.16.0.0/12 - OVERWRITEHOST=${APP_DOMAIN} - OVERWRITEPROTOCOL=${APP_PROTOCOL:-http} diff --git a/apps/nextcloud/metadata/description.md b/apps/nextcloud/metadata/description.md index c8da741a..475e1c15 100644 --- a/apps/nextcloud/metadata/description.md +++ b/apps/nextcloud/metadata/description.md @@ -26,4 +26,12 @@ Enterprise? Public Sector or Education user? You may want to have a look into [* You can also [get support for Nextcloud](https://nextcloud.com/support)! +## Reset password +Nextcloud does not support password resets from environment variables. If you want to change your password run the following commands in your terminal: + +```bash +sudo docker exec -u www-data -it nextcloud /bin/bash +php occ user:resetpassword username +``` + ![](https://raw.githubusercontent.com/nextcloud/screenshots/master/files/Files%20Sharing.png) \ No newline at end of file