fix nextcloud loading issue by avoiding unsafe port 10080

Signed-off-by: Tiger Wang <tigerwang@outlook.com>
This commit is contained in:
Tiger Wang 2023-05-18 20:58:04 -04:00
parent 17ca202341
commit f3cf0dfcdb
2 changed files with 91 additions and 91 deletions

View File

@ -1,94 +1,94 @@
{ {
"version": "2.0", "version": "2.0",
"title": "Nextcloud", "title": "Nextcloud",
"name": "nextcloud", "name": "nextcloud",
"icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png", "icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/icon.png",
"tagline": "The productivity platform that keeps you in control", "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.", "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", "thumbnail": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/thumbnail.jpg",
"screenshots": [ "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-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-2.png",
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-3.png" "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Nextcloud/screenshot-3.png"
], ],
"category": [ "category": [
"Cloud" "Cloud"
], ],
"developer": { "developer": {
"name": "Nextcloud", "name": "Nextcloud",
"website": "https://nextcloud.com/", "website": "https://nextcloud.com/",
"donate_text": "", "donate_text": "",
"donate_link": "" "donate_link": ""
}, },
"adaptor": { "adaptor": {
"name": "CasaOS Team", "name": "CasaOS Team",
"website": "https://www.casaos.io",
"donate_text": "",
"donate_link": ""
},
"support": "https://discord.gg/knqAbbBbeX",
"website": "https://www.casaos.io", "website": "https://www.casaos.io",
"container": { "donate_text": "",
"image": "nextcloud:latest", "donate_link": ""
"shell": "bash", },
"privileged": false, "support": "https://discord.gg/knqAbbBbeX",
"network_model": "bridge", "website": "https://www.casaos.io",
"web_ui": { "container": {
"http": "80", "image": "nextcloud:latest",
"https": "443", "shell": "bash",
"path": "/" "privileged": false,
}, "network_model": "bridge",
"health_check": "", "web_ui": {
"envs": [], "http": "80",
"ports": [ "https": "443",
{ "path": "/"
"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": []
}, },
"abilities": { "health_check": "",
"notification": false, "envs": [],
"widgets": false, "ports": [
"authentication": false, {
"search": false, "container": "80",
"upnp": false "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": {}, "restart_policy": "unless-stopped",
"changelog":{ "sysctls": [],
"latest_updates": "", "cap_add": [],
"url": "" "labels": []
}, },
"latest_update_date": "1640592011" "abilities": {
"notification": false,
"widgets": false,
"authentication": false,
"search": false,
"upnp": false
},
"tips": {},
"changelog": {
"latest_updates": "",
"url": ""
},
"latest_update_date": "1640592011"
} }

View File

@ -9,7 +9,7 @@ services:
network_mode: bridge network_mode: bridge
ports: ports:
- target: 80 - target: 80
published: "10080" published: "10081"
protocol: tcp protocol: tcp
- target: 443 - target: 443
published: "10443" published: "10443"
@ -87,4 +87,4 @@ x-casaos:
title: title:
en_us: Nextcloud en_us: Nextcloud
index: / index: /
port_map: "10080" port_map: "10081"