diff --git a/Apps/OpenRestyManager/appfile.json b/Apps/OpenRestyManager/appfile.json new file mode 100644 index 000000000..ef75b3dc8 --- /dev/null +++ b/Apps/OpenRestyManager/appfile.json @@ -0,0 +1,176 @@ +{ + "version": "2.0", + "title": "OpenResty Manager", + "name": "openrestymanager", + "icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenRestyManager/icon.png", + "tagline": "Just what the name says", + "overview": "The easiest using, powerful and beautiful OpenResty Manager, open source alternative to OpenResty Edge.", + "screenshots": [ + "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenRestyManager/screenshot-1.png", + "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenRestyManager/screenshot-2.png" + ], + "category": [ + "Network" + ], + "developer": { + "name": "OpenResty Manager", + "website": "https://om.uusec.com/", + "donate_text": "", + "donate_link": "" + }, + "adaptor": { + "name": "UUSEC", + "website": "https://www.uusec.com", + "donate_text": "", + "donate_link": "" + }, + "support": "https://github.com/Safe3/openresty-manager", + "website": "https://www.uusec.com", + "container": { + "image": "uusec/openresty-manager:1.1.3", + "shell": "sh", + "privileged": false, + "network_model": "host", + "web_ui": { + "http": "34567", + "path": "/" + }, + "health_check": "", + "envs": [], + "ports": [ + { + "container": "80", + "host": "80", + "type": "tcp", + "allocation": "required", + "configurable": "advanced", + "description": "Nginx HTTP Port" + }, + { + "container": "443", + "host": "443", + "type": "tcp", + "allocation": "required", + "configurable": "advanced", + "description": "Nginx HTTPS Port" + }, + { + "container": "34567", + "host": "34567", + "type": "tcp", + "allocation": "preferred", + "configurable": "basic", + "description": "WebUI Port" + } + ], + "volumes": [ + { + "container": "/etc/localtime", + "host": "/etc/localtime", + "mode": "ro", + "allocation": "automatic", + "configurable": "no", + "description": "Ties the time of the container to the host's time, read only so the container cannot change the host's time." + }, + { + "container": "/etc/resolv.conf", + "host": "/etc/resolv.conf", + "mode": "ro", + "allocation": "automatic", + "configurable": "no", + "description": "Ties the resolv.conf of the container to the host's resolv.conf, read only so the container cannot change the host's resolv.conf." + }, + { + "container": "/opt/om/acme", + "host": "/DATA/AppData/$AppID/acme", + "mode": "rw", + "allocation": "automatic", + "configurable": "advanced", + "description": "OpenResty Manager ACME directory." + }, + { + "container": "/opt/om/data", + "host": "/DATA/AppData/$AppID/data", + "mode": "rw", + "allocation": "automatic", + "configurable": "advanced", + "description": "OpenResty Manager data directory." + }, + { + "container": "/opt/om/nginx/conf/sites", + "host": "/DATA/AppData/$AppID/sites", + "mode": "rw", + "allocation": "automatic", + "configurable": "advanced", + "description": "OpenResty Manager sites directory." + }, + { + "container": "/opt/om/nginx/conf/upstreams", + "host": "/DATA/AppData/$AppID/upstreams", + "mode": "rw", + "allocation": "automatic", + "configurable": "advanced", + "description": "OpenResty Manager upstreams directory." + }, + { + "container": "/opt/om/nginx/conf/certs", + "host": "/DATA/AppData/$AppID/certs", + "mode": "rw", + "allocation": "automatic", + "configurable": "advanced", + "description": "OpenResty Manager certs directory." + } + ], + "devices": [], + "constraints": { + "min_memory": 256, + "min_storage": 512 + }, + "restart_policy": "unless-stopped", + "sysctls": [], + "cap_add": [], + "labels": [] + }, + "abilities": { + "notification": false, + "widgets": false, + "authentication": false, + "search": false, + "upnp": false + }, + "tips": { + "before_install": [ + { + "content":"⚠️ Warning!" + }, + { + "content":"This is a technical app, please make sure you know what you are doing." + }, + { + "content":"OpenResty Manager occupies ports 80 and 443 by default for built-in Nginx use. It occupies port 34567 for the admin page." + }, + { + "content":"Please change the CasaOS WebUI port to a port other than 80/443. And pay attention to whether the ports conflict with other apps. Otherwise, it may cause your CasaOS to run abnormally." + }, + { + "content": "" + }, + { + "content": "Default Administrator User" + }, + { + "content": "Username: ", + "value": "admin" + }, + { + "content": "Password: ", + "value": "#Passw0rd" + } + ] + }, + "changelog": { + "latest_updates": "", + "url": "" + }, + "latest_update_date": "" +} diff --git a/Apps/OpenRestyManager/docker-compose.yml b/Apps/OpenRestyManager/docker-compose.yml new file mode 100644 index 000000000..c28e57076 --- /dev/null +++ b/Apps/OpenRestyManager/docker-compose.yml @@ -0,0 +1,99 @@ +name: openrestymanager +services: + openresty-manager: + image: uusec/openresty-manager:1.1.3 + container_name: openresty-manager + deploy: + resources: + reservations: + memory: "512M" + network_mode: host + restart: unless-stopped + volumes: + - type: bind + source: /etc/localtime + target: /etc/localtime + read_only: true + - type: bind + source: /etc/resolv.conf + target: /etc/resolv.conf + read_only: true + - type: bind + source: /DATA/AppData/$AppID/acme + target: /opt/om/acme + - type: bind + source: /DATA/AppData/$AppID/data + target: /opt/om/data + - type: bind + source: /DATA/AppData/$AppID/sites + target: /opt/om/nginx/conf/sites + - type: bind + source: /DATA/AppData/$AppID/upstreams + target: /opt/om/nginx/conf/upstreams + - type: bind + source: /DATA/AppData/$AppID/certs + target: /opt/om/nginx/conf/certs + x-casaos: + ports: + - container: "80" + description: + en_us: Nginx HTTP Port + zh_cn: Nginx HTTP 端口 + + - container: "443" + description: + en_us: Nginx HTTPS Port + zh_cn: Nginx HTTPS 端口 + + - container: "34567" + description: + en_us: WebUI Port + zh_cn: WebUI 端口 + +x-casaos: + architectures: + - amd64 + - arm64 + main: openrestymanager + author: UUSEC + category: Network + description: + en_us: "The easiest using, powerful and beautiful OpenResty Manager, open source alternative to OpenResty Edge, which can enable you to easily reverse proxy your websites with security running at home or internet, including Access Control, HTTP Flood Protection, Free SSL, without having to know too much about OpenResty or Let's Encrypt." + zh_cn: "最简单易用、功能强大、漂亮的OpenResty管理器(Nginx增强版),OpenResty Edge 的开源替代品。它可以让您轻松地安全反向代理在家或互联网上运行的网站,包括访问控制、拒绝服务攻击防护、自动申请并续期免费的SSL证书,而无需对OpenResty或Let's Encrypt了解太多。" + developer: UUSEC + icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenRestyManager/icon.png + screenshot_link: + - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenRestyManager/screenshot-1.png + - https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/OpenRestyManager/screenshot-2.png + tagline: + en_us: Managing OpenResty proxy hosts with a simple, powerful interface and security enhancement. + zh_cn: 通过简单、强大的界面和安全增强来管理 OpenResty 代理主机。 + tips: + before_install: + en_us: | + ⚠️ Warning! + This is a technical app, please make sure you know what you are doing. + OpenResty Manager occupies ports 80 and 443 by default for built-in Nginx use. It occupies port 34567 for the admin page. + Please change the CasaOS WebUI port to a port other than 80/443. And pay attention to whether the ports conflict with other apps. Otherwise, it may cause your CasaOS to run abnormally. + + Default Administrator User + + | Username | Password | + | -------- | -------- | + | `admin` | `#Passw0rd` | + zh_cn: | + ⚠️ 警告! + 这是一个技术类应用,请确保你知道你在做什么。 + OpenResty Manager 默认占用 80 和 443 端口给内置 Nginx 使用。占用 34567 端口给管理页面。 + 请将 CasaOS WebUI 端口改为非 80/443 的端口。并注意是否与其他应用冲突。否则可能导致你的 CasaOS 运行异常。 + + 默认管理员用户 + + | 用户名 | 密码 | + | -------- | -------- | + | `admin` | `#Passw0rd` | + title: + en_us: OpenResty Manager + zh_cn: OpenResty管理器 + index: / + port_map: "34567" diff --git a/Apps/OpenRestyManager/icon.png b/Apps/OpenRestyManager/icon.png new file mode 100644 index 000000000..10e94a4a5 Binary files /dev/null and b/Apps/OpenRestyManager/icon.png differ diff --git a/Apps/OpenRestyManager/screenshot-1.png b/Apps/OpenRestyManager/screenshot-1.png new file mode 100644 index 000000000..b8773a340 Binary files /dev/null and b/Apps/OpenRestyManager/screenshot-1.png differ diff --git a/Apps/OpenRestyManager/screenshot-2.png b/Apps/OpenRestyManager/screenshot-2.png new file mode 100644 index 000000000..7067dcdd7 Binary files /dev/null and b/Apps/OpenRestyManager/screenshot-2.png differ