diff options
| author | Vdauphin <[email protected]> | 2024-06-10 02:19:25 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-09 17:19:25 -0700 |
| commit | 412a2a9c7b4a7c1a2a1add11456600567214243c (patch) | |
| tree | 836a51feca3b8daa1931a919c1760febd6a95c3f | |
| parent | 60e53eac24ed67d45ccf4e08e2808730a23c9fcf (diff) | |
| download | caprover-one-click-apps-412a2a9c7b4a7c1a2a1add11456600567214243c.tar.gz caprover-one-click-apps-412a2a9c7b4a7c1a2a1add11456600567214243c.zip | |
Update Nextcloud to 28.0.6 (#1112)
* Add volume config
* Update post intallation information
* Update nextcloud.yml to 28.0.6
| -rw-r--r-- | public/v4/apps/nextcloud.yml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/public/v4/apps/nextcloud.yml b/public/v4/apps/nextcloud.yml index 796f524..fb133cc 100644 --- a/public/v4/apps/nextcloud.yml +++ b/public/v4/apps/nextcloud.yml @@ -29,6 +29,7 @@ services: image: nextcloud:$$cap_nextcloud_version volumes: - $$cap_appname-data:/var/www/html + - $$cap_appname-conf:/usr/local/etc/php/conf.d restart: always environment: OVERWRITEPROTOCOL: $$cap_http_https_cors @@ -57,8 +58,8 @@ services: caproverOneClickApp: variables: - id: $$cap_nextcloud_version - label: NextCloud Version - defaultValue: 26.0.3 + label: Nextcloud Version + defaultValue: 28.0.6 description: >- Check out their Docker page for the valid tags https://hub.docker.com/_/nextcloud?tab=tags @@ -67,12 +68,12 @@ caproverOneClickApp: validRegex: /^((?!fpm)\S)+$/ - id: $$cap_redis_version label: Redis Version - defaultValue: 6.2.12 + defaultValue: 6.2.14 description: Check out their Docker page for the valid tags https://hub.docker.com/_/redis?tab=tags validRegex: /^([^\s^\/])+$/ - id: $$cap_mariadb_version label: MariaDB (database) version - defaultValue: 10.6.14 + defaultValue: 10.6.18 description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags validRegex: /^([^\s^\/])+$/ - id: $$cap_db_user @@ -106,11 +107,13 @@ caproverOneClickApp: instructions: start: A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms. http://Nextcloud.com end: >- - NextCloud is deployed and will be available on few minutes as $$cap_appname. + Nextcloud is deployed and will be available on few minutes as $$cap_appname. If you set the cors sections to https, please enable https on your app. If you do not activate it you will have an error. + Fix Nextcloud warning: + For better performances and compliance, click on "edit default nginx configuration" button then below `proxy_set_header X-Forwarded-Proto $scheme;` add `add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;` into the nginx configuration. @@ -121,10 +124,19 @@ caproverOneClickApp: `location /.well-known/caldav {return 301 $scheme://$host/remote.php/dav;}` - You can see HSTS parts of the nextcloud security documentation [https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html](https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html) for further informations + You can define the `default_phone_region` by executing: + + `sudo docker exec -u www-data $(sudo docker ps --filter name='srv-captain--$$cap_appname.1' -q) php occ config:system:set default_phone_region --value="FR"` + + You can define the `maintenance_window_start` by executing: + + `sudo docker exec -u www-data $(sudo docker ps --filter name='srv-captain--$$cap_appname.1' -q) php occ config:system:set maintenance_window_start --type=integer --value=3` + + + You can see HSTS parts of the Nextcloud security documentation [https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html](https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html) for further informations - You can also scan your nextcloud instance on [https://scan.nextcloud.com/](https://scan.nextcloud.com/) + You can also scan your Nextcloud instance on [https://scan.nextcloud.com/](https://scan.nextcloud.com/) displayName: Nextcloud isOfficial: true description: Nextcloud is a suite of client-server software for creating and using file hosting services |
