1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-31 22:34:58 +08:00

发布应用 Sun Panel

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen 2024-10-31 15:41:16 +08:00
parent c6a36f60e5
commit 028540fc3c
8 changed files with 124 additions and 0 deletions

17
sun-panel/1.5.3/data.yml Normal file
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
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
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
sun-panel/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB