发布应用 Sun Panel

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2024-10-31 15:41:16 +08:00
parent 1b928b2ce6
commit e03fe27a51
10 changed files with 126 additions and 0 deletions

1
.github/README.md vendored
View File

@ -153,6 +153,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/stream-rec/logo.png" width="22"/> | Stream-Rec | https://github.com/hua0512/stream-rec/ | Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/stream-rec/logo.png" width="22"/> | Stream-Rec Web版 | https://github.com/hua0512/stream-rec/ | 【前端版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/stream-rec/logo.png" width="22"/> | Stream-Rec 服务版 | https://github.com/hua0512/stream-rec/ | 【服务版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/sun-panel/logo.png" width="22"/> | Sun Panel | https://doc.sun-panel.top/ | 一个服务器、NAS导航面板、Homepage、浏览器首页 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/synapse/logo.png" width="22"/> | Synapse | https://matrix.org/ | 用于安全、分散通信的开放网络 | Matrix |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/synapse/logo.png" width="22"/> | Synapse Admin | https://github.com/Awesome-Technologies/synapse-admin/ | 【管理面板】用于安全、分散通信的开放网络 | Matrix |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/element-web/logo.png" width="22"/> | Element Web | https://element.io/ | 一个用于Web的光泽Matrix协作客户端 | Matrix |

View File

@ -136,6 +136,7 @@
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/stream-rec/logo.png" width="22"/> | Stream-Rec | https://github.com/hua0512/stream-rec/ | Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/stream-rec/logo.png" width="22"/> | Stream-Rec Web版 | https://github.com/hua0512/stream-rec/ | 【前端版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/stream-rec/logo.png" width="22"/> | Stream-Rec 服务版 | https://github.com/hua0512/stream-rec/ | 【服务版】Stream-rec是一个用于各种流媒体服务的自动流媒体录制工具 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/sun-panel/logo.png" width="22"/> | Sun Panel | https://doc.sun-panel.top/ | 一个服务器、NAS导航面板、Homepage、浏览器首页 | |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/synapse/logo.png" width="22"/> | Synapse | https://matrix.org/ | 用于安全、分散通信的开放网络 | Matrix |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/synapse/logo.png" width="22"/> | Synapse Admin | https://github.com/Awesome-Technologies/synapse-admin/ | 【管理面板】用于安全、分散通信的开放网络 | Matrix |
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/element-web/logo.png" width="22"/> | Element Web | https://element.io/ | 一个用于Web的光泽Matrix协作客户端 | Matrix |

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -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

30
apps/sun-panel/README.md Normal file
View File

@ -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)

14
apps/sun-panel/data.yml Normal file
View File

@ -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/

BIN
apps/sun-panel/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB