1
0
Fork 0

feat(localApps): 添加 Sun Panel应用

- 新增 Sun Panel 应用的配置文件和文档
- 创建多个版本的 data.yml 和 docker-compose.yml 文件
- 添加 Sun Panel 的README文档,介绍其功能和使用方法
This commit is contained in:
zhongkunming 2025-05-24 12:12:52 +08:00
parent 958ecd6090
commit 7715e26ab9
7 changed files with 190 additions and 0 deletions

10
sun-panel/1.7.0/data.yml Normal file
View File

@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: "3002"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,20 @@
networks:
1panel-network:
external: true
services:
sun-panel:
container_name: ${CONTAINER_NAME}
environment:
- TZ=Asia/Shanghai
image: hslr/sun-panel:1.7.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3002
restart: always
volumes:
- ./data/conf:/app/conf
- ./data/database:/app/database
- ./data/uploads:/app/uploads

111
sun-panel/README.md Normal file
View File

@ -0,0 +1,111 @@
[[ 简体中文 ]](https://sun-panel-doc.enianteam.com/zh_cn/introduce/project.html) |
[[ English ]](https://sun-panel-doc.enianteam.com/introduce/project.html)
<div align=center>
<img src="./doc/images/logo.png" width="100" height="100" />
# Sun-Panel
[![Github](https://img.shields.io/badge/Github-123456?logo=github&labelColor=242424)](https://github.com/hslr-s/sun-panel)
[![Gitee](https://img.shields.io/badge/Gitee-123456?logo=gitee&labelColor=c71d23)](https://gitee.com/hslr/sun-panel)
[![docker](https://img.shields.io/badge/docker-123456?logo=docker&logoColor=fff&labelColor=1c7aed)](https://hub.docker.com/r/hslr/sun-panel)
[![Bilibili](https://img.shields.io/badge/Bilibili-123456?logo=bilibili&logoColor=fff&labelColor=fb7299)](https://space.bilibili.com/27407696/channel/collectiondetail?sid=2023810)
[![YouTube](https://img.shields.io/badge/YouTube-123456?logo=youtube&labelColor=ff0000)](https://www.youtube.com/channel/UCKwbFmKU25R602z6P2fgPYg)
<br>
[![GitHub User's stars](https://img.shields.io/github/stars/hslr-s%2Fsun-panel?style=flat&logo=github)](https://github.com/hslr-s/sun-panel)
[![github downloads](https://img.shields.io/github/downloads/hslr-s/sun-panel/total.svg?logo=github)](https://github.com/hslr-s/sun-panel/releases)
[![docker pulls](https://img.shields.io/docker/pulls/hslr/sun-panel.svg?logo=docker)](https://hub.docker.com/r/hslr/sun-panel)
[[ 中文文档 ]](https://sun-panel-doc.enianteam.com/zh_cn) |
[[ Document ]](https://sun-panel-doc.enianteam.com) |
[[ Demo ]](http://sunpaneldemo.enianteam.com)
A server, NAS navigation panel, Homepage, Browser homepage.
<br>
一个服务器、NAS导航面板、Homepage、浏览器首页。
</div>
![](./doc/images/main-dark.png)
> [!IMPORTANT]
> In order to maintain the livelihood, the author added some [`PRO`] (https://pro.sun-panel.top) function, so the project temporarily entered a closed source state.; At present, the latest version of the open source is `v1.3.0`, [Please see the latest version of closed source](https://github.com/hslr-s/sun-panel/releases).; When the modular technology is developed, the separation of the PRO and the programs will be opened again, and the closed source will have no effect on ordinary users.; Let's look forward to open source again, and at the same time, we are welcome to supervise and review the security of the program.
>
> 作者为了维持生计,增加了一些 [`PRO`](https://pro.sun-panel.top) 功能,所以项目暂时进入闭源状态。目前开源最新版本为`v1.3.0`[闭源最新版本请查看](https://github.com/hslr-s/sun-panel/releases)。待开发出模块化技术然后对PRO和主程序进行分离会再次开源闭源对普通用户没有任何影响。我们一起期待再次开源吧同时也欢迎各位大佬对程序的安全性进行监督和审查。
## 😎 Features
- 🍉 Clean interface, powerful functionality, low resource consumption
- 🍊 Easy to use, visual operation, zero-code usage
- 🍠 One-click switch between internal and external network modes
- 🍵 Supports Docker deployment (compatible with Arm systems)
- 🎪 Supports multi-account isolation
- 🎏 Supports viewing system status
- 🫙 Supports custom JS, CSS
- 🍻 Simple usage without the need to connect to an external database
- 🍾 Rich icon styles for free combination, supports [Iconify icon library](https://icon-sets.iconify.design/)
- 🚁 Supports opening small windows in the webpage (some third-party websites may block this feature)
## 🖼️ Preview Screenshots
**Various styles, freely combined**
![](./doc/images/icon-small-new.png)
![](./doc/images/transparent-info.png)
![](./doc/images/transparent-small.png)
![](./doc/images/solid-color-info.png)
![](./doc/images/full-color-small.jpg)
**Built-in small windows**
![](./doc/images/window-ssh.png)
![](./doc/images/window-xunlei.png)
## 🐳 Deployment tutorial
[Deployment Tutorial](https://sun-panel-doc.enianteam.com/usage/quick_deploy.html)
## 🍵 Donate
> Open-source development is not easy. If you feel that my project has helped you, you are welcome to [donate](./doc/donate.md) or buy me a cup of tea☕ (please leave your nickname or name in the note if possible). Your support is my motivation, thank you.
<a href="https://www.paypal.me/hslrs">
<img height="60" src="./doc/images/donate/paypal.png" target="_blank"></img>
</a>
| | |
| ------------ | ------------ |
| <img height="300" src="./doc/images/donate/weixin.png"/> | <img height="300" src="./doc/images/donate/alipay.png" /> |
## 🏖️ Communication group & community
Author**[红烧猎人](https://blog.enianteam.com/u/sun/content/11)**
[Github Discussions](https://github.com/hslr-s/sun-panel/discussions)
QQ交流群进不去可以点上方连接联系作者
<img src="./doc/images/qq_group_qr2.png" height="350" />
## ❤️ Thanks
- [Roc](https://github.com/RocCheng)
- [jackloves111](https://github.com/jackloves111)
- [Rock.L](https://github.com/gitlyp)
---
[![Star History Chart](https://api.star-history.com/svg?repos=hslr-s/sun-panel&type=Date)](https://star-history.com/#hslr-s/sun-panel&Date)
- 账户密码
```
username: admin@sun.cc
password: 12345678
```

19
sun-panel/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Sun Panel
tags:
- 工具
title: 开源的文件同步客户端与服务器软件
description: 开源的文件同步客户端与服务器软件采用Go语言编写。它可以在本地网络上的设备之间或通过Internet在远程设备之间同步文件使用了其独有的对等自由块交换协议
additionalProperties:
key: sun-panel
name: Sun Panel
tags:
- Tool
shortDescZh: 一个服务器、NAS导航面板、Homepage、浏览器首页
shortDescEn: A server, NAS navigation panel, Homepage, Browser homepage
type: website
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://syncthing.net
github: https://github.com/syncthing/syncthing
document: https://docs.syncthing.net

10
sun-panel/latest/data.yml Normal file
View File

@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: "3002"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,20 @@
networks:
1panel-network:
external: true
services:
sun-panel:
container_name: ${CONTAINER_NAME}
environment:
- TZ=Asia/Shanghai
image: hslr/sun-panel:latest
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3002
restart: always
volumes:
- ./data/conf:/app/conf
- ./data/database:/app/database
- ./data/uploads:/app/uploads

BIN
sun-panel/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB