From f3cf0dfcdb450a750b5489002f1b2c56a817c26f Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 18 May 2023 20:58:04 -0400 Subject: [PATCH] fix nextcloud loading issue by avoiding unsafe port 10080 Signed-off-by: Tiger Wang --- Apps/Nextcloud/appfile.json | 178 +++++++++++++++--------------- Apps/Nextcloud/docker-compose.yml | 4 +- 2 files changed, 91 insertions(+), 91 deletions(-) diff --git a/Apps/Nextcloud/appfile.json b/Apps/Nextcloud/appfile.json index a39aab2..47d99fc 100644 --- a/Apps/Nextcloud/appfile.json +++ b/Apps/Nextcloud/appfile.json @@ -1,94 +1,94 @@ { - "version": "2.0", - "title": "Nextcloud", - "name": "nextcloud", - "icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png", - "tagline": "The productivity platform that keeps you in control", - "overview": "Nextcloud puts your data at your fingertips, under your control. Store your documents, calendar, contacts and photos on a server at home, at one of our providers or in a data center you trust.", - "thumbnail": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/thumbnail.jpg", - "screenshots": [ - "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-1.png", - "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-2.png", - "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-3.png" - ], - "category": [ - "Cloud" - ], - "developer": { - "name": "Nextcloud", - "website": "https://nextcloud.com/", - "donate_text": "", - "donate_link": "" - }, - "adaptor": { - "name": "CasaOS Team", - "website": "https://www.casaos.io", - "donate_text": "", - "donate_link": "" - }, - "support": "https://discord.gg/knqAbbBbeX", + "version": "2.0", + "title": "Nextcloud", + "name": "nextcloud", + "icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png", + "tagline": "The productivity platform that keeps you in control", + "overview": "Nextcloud puts your data at your fingertips, under your control. Store your documents, calendar, contacts and photos on a server at home, at one of our providers or in a data center you trust.", + "thumbnail": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/thumbnail.jpg", + "screenshots": [ + "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-1.png", + "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-2.png", + "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-3.png" + ], + "category": [ + "Cloud" + ], + "developer": { + "name": "Nextcloud", + "website": "https://nextcloud.com/", + "donate_text": "", + "donate_link": "" + }, + "adaptor": { + "name": "CasaOS Team", "website": "https://www.casaos.io", - "container": { - "image": "nextcloud:latest", - "shell": "bash", - "privileged": false, - "network_model": "bridge", - "web_ui": { - "http": "80", - "https": "443", - "path": "/" - }, - "health_check": "", - "envs": [], - "ports": [ - { - "container": "80", - "host": "10080", - "type": "tcp", - "allocation": "preferred", - "configurable": "advanced", - "description": "WebUI HTTP Port" - }, - { - "container": "443", - "host": "10443", - "type": "tcp", - "allocation": "preferred", - "configurable": "advanced", - "description": "WebUI HTTPS Port" - } - ], - "volumes": [ - { - "container": "/var/www/html", - "host": "/DATA/AppData/$AppID/var/www/html", - "mode": "rw", - "allocation": "automatic", - "configurable": "no", - "description": "Nextcloud config directory." - } - ], - "devices": [], - "constraints": { - "min_memory": 512, - "min_storage": 2048 - }, - "restart_policy": "unless-stopped", - "sysctls": [], - "cap_add": [], - "labels": [] + "donate_text": "", + "donate_link": "" + }, + "support": "https://discord.gg/knqAbbBbeX", + "website": "https://www.casaos.io", + "container": { + "image": "nextcloud:latest", + "shell": "bash", + "privileged": false, + "network_model": "bridge", + "web_ui": { + "http": "80", + "https": "443", + "path": "/" }, - "abilities": { - "notification": false, - "widgets": false, - "authentication": false, - "search": false, - "upnp": false + "health_check": "", + "envs": [], + "ports": [ + { + "container": "80", + "host": "10081", + "type": "tcp", + "allocation": "preferred", + "configurable": "advanced", + "description": "WebUI HTTP Port" + }, + { + "container": "443", + "host": "10443", + "type": "tcp", + "allocation": "preferred", + "configurable": "advanced", + "description": "WebUI HTTPS Port" + } + ], + "volumes": [ + { + "container": "/var/www/html", + "host": "/DATA/AppData/$AppID/var/www/html", + "mode": "rw", + "allocation": "automatic", + "configurable": "no", + "description": "Nextcloud config directory." + } + ], + "devices": [], + "constraints": { + "min_memory": 512, + "min_storage": 2048 }, - "tips": {}, - "changelog":{ - "latest_updates": "", - "url": "" - }, - "latest_update_date": "1640592011" + "restart_policy": "unless-stopped", + "sysctls": [], + "cap_add": [], + "labels": [] + }, + "abilities": { + "notification": false, + "widgets": false, + "authentication": false, + "search": false, + "upnp": false + }, + "tips": {}, + "changelog": { + "latest_updates": "", + "url": "" + }, + "latest_update_date": "1640592011" } \ No newline at end of file diff --git a/Apps/Nextcloud/docker-compose.yml b/Apps/Nextcloud/docker-compose.yml index 04dd644..88d9936 100644 --- a/Apps/Nextcloud/docker-compose.yml +++ b/Apps/Nextcloud/docker-compose.yml @@ -9,7 +9,7 @@ services: network_mode: bridge ports: - target: 80 - published: "10080" + published: "10081" protocol: tcp - target: 443 published: "10443" @@ -87,4 +87,4 @@ x-casaos: title: en_us: Nextcloud index: / - port_map: "10080" + port_map: "10081"