diff --git a/.github/README.md b/.github/README.md index 7f3f929ba..3ec6bc0ee 100644 --- a/.github/README.md +++ b/.github/README.md @@ -153,6 +153,7 @@ | 🟢 | | Stream-Rec | https://github.com/hua0512/stream-rec/ | Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | | 🟢 | | Stream-Rec Web版 | https://github.com/hua0512/stream-rec/ | 【前端版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | | 🟢 | | Stream-Rec 服务版 | https://github.com/hua0512/stream-rec/ | 【服务版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | +| 🟢 | | Sun Panel | https://doc.sun-panel.top/ | 一个服务器、NAS导航面板、Homepage、浏览器首页 | | | 🟢 | | Synapse | https://matrix.org/ | 用于安全、分散通信的开放网络 | Matrix | | 🟢 | | Synapse Admin | https://github.com/Awesome-Technologies/synapse-admin/ | 【管理面板】用于安全、分散通信的开放网络 | Matrix | | 🟢 | | Element Web | https://element.io/ | 一个用于Web的光泽Matrix协作客户端 | Matrix | diff --git a/README.md b/README.md index baf061fa4..6a34b5541 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,7 @@ | 🟢 | | Stream-Rec | https://github.com/hua0512/stream-rec/ | Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | | 🟢 | | Stream-Rec Web版 | https://github.com/hua0512/stream-rec/ | 【前端版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | | 🟢 | | Stream-Rec 服务版 | https://github.com/hua0512/stream-rec/ | 【服务版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | | +| 🟢 | | Sun Panel | https://doc.sun-panel.top/ | 一个服务器、NAS导航面板、Homepage、浏览器首页 | | | 🟢 | | Synapse | https://matrix.org/ | 用于安全、分散通信的开放网络 | Matrix | | 🟢 | | Synapse Admin | https://github.com/Awesome-Technologies/synapse-admin/ | 【管理面板】用于安全、分散通信的开放网络 | Matrix | | 🟢 | | Element Web | https://element.io/ | 一个用于Web的光泽Matrix协作客户端 | Matrix | diff --git a/apps/sun-panel/1.5.3/data.yml b/apps/sun-panel/1.5.3/data.yml new file mode 100644 index 000000000..64432c98d --- /dev/null +++ b/apps/sun-panel/1.5.3/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "/home/sun-panel" + edit: true + envKey: SUN_PANEL_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 3002 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: 访问端口 + labelEn: Port + required: true + rule: paramPort + type: number diff --git a/apps/sun-panel/1.5.3/docker-compose.yml b/apps/sun-panel/1.5.3/docker-compose.yml new file mode 100644 index 000000000..1b0d29a29 --- /dev/null +++ b/apps/sun-panel/1.5.3/docker-compose.yml @@ -0,0 +1,23 @@ +networks: + 1panel-network: + external: true + +services: + sun-panel: + image: hslr/sun-panel:1.5.3 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:3002 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${SUN_PANEL_ROOT_PATH}/conf:/app/conf + - ${SUN_PANEL_ROOT_PATH}/database:/app/database + - ${SUN_PANEL_ROOT_PATH}/uploads:/app/uploads + - /var/run/docker.sock:/var/run/docker.sock diff --git a/apps/sun-panel/1.5.3/scripts/init.sh b/apps/sun-panel/1.5.3/scripts/init.sh new file mode 100644 index 000000000..77b849120 --- /dev/null +++ b/apps/sun-panel/1.5.3/scripts/init.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/sun-panel/1.5.3/scripts/uninstall.sh b/apps/sun-panel/1.5.3/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/apps/sun-panel/1.5.3/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/sun-panel/1.5.3/scripts/upgrade.sh b/apps/sun-panel/1.5.3/scripts/upgrade.sh new file mode 100644 index 000000000..77b849120 --- /dev/null +++ b/apps/sun-panel/1.5.3/scripts/upgrade.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/sun-panel/README.md b/apps/sun-panel/README.md new file mode 100644 index 000000000..150487836 --- /dev/null +++ b/apps/sun-panel/README.md @@ -0,0 +1,30 @@ +# Sun Panel + +一个服务器、NAS导航面板、Homepage、浏览器首页 + +![Sun Panel](https://file.lifebus.top/imgs/sun_panel_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 特性 + ++ 清爽界面,强大功能,低资源消耗 ++ 🍊 易用,可视化操作,零代码使用 ++ 一键切换内外网模式 ++ 支持 Docker 部署(兼容 Arm 系统) ++ 🎪 支持多账户隔离 ++ 🎏 支持查看系统状态 ++ 🫙 支持自定义 JS、CSS ++ 🍻 无需连接外部数据库的简单用法 ++ 🍾 免费组合丰富图标样式,支持 Iconify 图标库 ++ 支持在网页中打开小窗口(某些第三方网站可能阻止此功能) + +## 安装说明 + +> 默认 用户名:`admin@sun.cc` +> +> 默认 密码:`12345678` + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/sun-panel/data.yml b/apps/sun-panel/data.yml new file mode 100644 index 000000000..310a1cc55 --- /dev/null +++ b/apps/sun-panel/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: sun-panel + name: Sun Panel + tags: + - WebSite + - Local + shortDescZh: 一个服务器、NAS导航面板、Homepage、浏览器首页 + shortDescEn: A server, NAS navigation panel, Homepage, Browser homepage + type: website + crossVersionUpdate: true + limit: 0 + website: https://doc.sun-panel.top/ + github: https://github.com/hslr-s/sun-panel/ + document: https://doc.sun-panel.top/ diff --git a/apps/sun-panel/logo.png b/apps/sun-panel/logo.png new file mode 100644 index 000000000..a3aac61dc Binary files /dev/null and b/apps/sun-panel/logo.png differ