mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 09:26:57 +08:00
发布应用 DPanel 轻量版
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
95d7d2a646
commit
1944d95962
31
apps/dpanel-lite/1.2.0/data.yml
Normal file
31
apps/dpanel-lite/1.2.0/data.yml
Normal file
@ -0,0 +1,31 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/dpanel"
|
||||
edit: true
|
||||
envKey: DPANEL_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "admin"
|
||||
edit: true
|
||||
envKey: INSTALL_USERNAME
|
||||
labelZh: 管理员 用户名
|
||||
labelEn: Admin Username
|
||||
required: true
|
||||
type: text
|
||||
- default: "admin"
|
||||
edit: true
|
||||
envKey: INSTALL_PASSWORD
|
||||
labelZh: 管理员 密码
|
||||
labelEn: Admin Password
|
||||
required: true
|
||||
type: text
|
31
apps/dpanel-lite/1.2.0/docker-compose.yml
Normal file
31
apps/dpanel-lite/1.2.0/docker-compose.yml
Normal file
@ -0,0 +1,31 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
dpanel:
|
||||
image: dpanel/dpanel:1.2.0-lite
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${DPANEL_ROOT_PATH}/data:/dpanel
|
||||
- ${DPANEL_ROOT_PATH}/compose:/dpanel/compose
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- APP_NAME=${CONTAINER_NAME}
|
||||
dpanel-plugin-explorer:
|
||||
image: alpine:latest
|
||||
container_name: dpanel-plugin-explorer
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
pid: host
|
||||
command: [ "sh", "-c", "tail -f /dev/null" ]
|
15
apps/dpanel-lite/1.2.0/scripts/init.sh
Normal file
15
apps/dpanel-lite/1.2.0/scripts/init.sh
Normal 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
|
10
apps/dpanel-lite/1.2.0/scripts/uninstall.sh
Normal file
10
apps/dpanel-lite/1.2.0/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
15
apps/dpanel-lite/1.2.0/scripts/upgrade.sh
Normal file
15
apps/dpanel-lite/1.2.0/scripts/upgrade.sh
Normal 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
|
33
apps/dpanel-lite/README.md
Normal file
33
apps/dpanel-lite/README.md
Normal file
@ -0,0 +1,33 @@
|
||||
# DPanel
|
||||
|
||||
Docker可视化管理面板
|
||||
|
||||
![Dockge](https://file.lifebus.top/imgs/dpanel_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 可视化面板系统,提供完善的 docker 管理功能。
|
||||
|
||||
该应用为 轻量版 DPanel,不包含域名管理、证书管理等功能。
|
||||
|
||||
## 安装说明
|
||||
|
||||
<div style="border: 1px solid #FFC107; padding: 10px; border-radius: 5px; color: #856404; background-color: #FFF3CD; display: inline-block; width: 100%; max-width: 60%; margin-top: 10px;">
|
||||
<div style="display: flex; align-items: center;">
|
||||
<span style="font-size: 24px; margin-right: 8px;">⚠️</span>
|
||||
<div>
|
||||
<strong style="font-size: 16px;">警告</strong><br>
|
||||
<span style="font-size: 14px; color: #333;">该应用申请使用 `特权模式`, 将允许应用在容器内部执行特权操作,如挂载宿主机目录、访问宿主机设备等。</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
> 默认用户名:`admin`
|
||||
>
|
||||
> 默认密码:`admin`
|
||||
|
||||
---
|
||||
|
||||
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
15
apps/dpanel-lite/data.yml
Normal file
15
apps/dpanel-lite/data.yml
Normal file
@ -0,0 +1,15 @@
|
||||
additionalProperties:
|
||||
key: dpanel-lite
|
||||
name: DPanel Lite
|
||||
tags:
|
||||
- WebSite
|
||||
- Tool
|
||||
- Local
|
||||
shortDescZh: Docker可视化管理面板
|
||||
shortDescEn: Docker visual management panel
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://dpanel.cc/
|
||||
github: https://github.com/donknap/dpanel/
|
||||
document: https://dpanel.cc/
|
BIN
apps/dpanel-lite/logo.png
Normal file
BIN
apps/dpanel-lite/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
@ -9,12 +9,28 @@ additionalProperties:
|
||||
type: text
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
envKey: PANEL_APP_PORT_ADMIN
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 80
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: HTTP 服务端口
|
||||
labelEn: HTTP service port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 443
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTPS
|
||||
labelZh: HTTPS 服务端口
|
||||
labelEn: HTTPS service port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "admin"
|
||||
edit: true
|
||||
envKey: INSTALL_USERNAME
|
||||
|
@ -4,7 +4,7 @@ networks:
|
||||
|
||||
services:
|
||||
dpanel:
|
||||
image: dpanel/dpanel:1.2.0
|
||||
image: dpanel/dpanel:1.2.0-lite
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
@ -12,12 +12,15 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
- ${PANEL_APP_PORT_ADMIN}:8080
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
- ${PANEL_APP_PORT_HTTPS}:443
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${DPANEL_ROOT_PATH}/data:/dpanel
|
||||
- ${DPANEL_ROOT_PATH}/compose:/dpanel/compose
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- APP_NAME=${CONTAINER_NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user