feat(dpanel): 添加 DPanel 应用及其相关配置文件

This commit is contained in:
arch3rPro
2025-12-12 14:06:28 +08:00
parent 4a012d632e
commit 13b0c0744b
10 changed files with 280 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
additionalProperties:
formFields:
- default: "40283"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
label:
en: Data Path
zh: 数据路径
required: true
type: text
- default: "dpanel"
edit: true
envKey: APP_NAME
labelEn: Application Name
labelZh: 应用名称
label:
en: Application Name
zh: 应用名称
required: true
type: text
- default: "/var/run/docker.sock"
edit: true
envKey: DOCKER_SOCK_PATH
labelEn: Docker Socket Path
labelZh: Docker 套接字路径
label:
en: Docker Socket Path
zh: Docker 套接字路径
required: true
type: text

View File

@@ -0,0 +1,20 @@
services:
dpanel:
image: "dpanel/dpanel:1.9.1-lite"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- ${DOCKER_SOCK_PATH}:/var/run/docker.sock
- ${DATA_PATH}:/dpanel
environment:
- APP_NAME=${APP_NAME}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@@ -0,0 +1,45 @@
additionalProperties:
formFields:
- default: 48080
edit: true
envKey: PANEL_APP_PORT_ADMIN
labelZh: WebUI 端口
labelEn: WebUI port
label:
en: WebUI port
zh: WebUI 端口
required: true
rule: paramPort
type: number
- default: 80
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: HTTP 服务端口
labelEn: HTTP service port
label:
en: HTTP service port
zh: HTTP 服务端口
required: true
rule: paramPort
type: number
- default: 443
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelZh: HTTPS 服务端口
labelEn: HTTPS service port
label:
en: HTTPS service port
zh: HTTPS 服务端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DPANEL_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
label:
en: Data persistence path
zh: 数据持久化路径
required: true
type: text

View File

@@ -0,0 +1,22 @@
services:
dpanel:
image: dpanel/dpanel:1.9.1
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_ADMIN}:8080
- ${PANEL_APP_PORT_HTTP}:80
- ${PANEL_APP_PORT_HTTPS}:443
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}
networks:
1panel-network:
external: true

19
apps/dpanel/README.md Normal file
View File

@@ -0,0 +1,19 @@
## DPanel介绍
DPanel 是一款轻量化的管理 Docker、Podman 容器的可视化面板
![](https://img.shields.io/badge/Copyright-arch3rPro-ff9800?style=flat&logo=github&logoColor=white)
原生的中文的界面,更适合中文环境使用。同时支持英文、日文等多种语言。安装简单,占用资源极低,更适合各种 Nas 设备、盒子以及小型服务器。面板以容器的方式运行,不需要特权,对宿主机没有依赖及侵入,安全可靠。
## 功能介绍
面板提供了容器、Compose、镜像等容器管理的基础功能。支持管理容器内部文件支持多种类型添加 Compose 项目。标准版中内置了 Nginx 可以方便的对容器端口进行转发。 可以通过 Docker Api 和 SSH 的方式添加、管理多个 Docker 服务端,并支持通过 ssh 及 sftp 管理宿主机。
## 账户密码
```
username: admin
password: admin
```

42
apps/dpanel/README_en.md Normal file
View File

@@ -0,0 +1,42 @@
# DPanel
DPanel is a lightweight visual management panel for Docker and Podman containers.
![](https://img.shields.io/badge/Copyright-arch3rPro-ff9800?style=flat&logo=github&logoColor=white)
## Overview
DPanel provides a native Chinese interface that is more suitable for Chinese environments, while also supporting English, Japanese, and multiple other languages. The installation is simple with extremely low resource consumption, making it perfect for various NAS devices, set-top boxes, and small servers. The panel runs as a container without requiring privileges, making it dependency-free and non-intrusive to the host system, ensuring safety and reliability.
## Features
The panel provides essential container management functionality including:
- **Container Management**: Manage Docker/Podman containers
- **Compose Management**: Support for multiple types of Compose projects
- **Image Management**: Container image management and operations
- **File Management**: Manage container internal files
- **Nginx Integration**: Built-in Nginx for convenient container port forwarding
- **Multi-Server Support**: Add and manage multiple Docker servers via Docker API and SSH
- **Host Management**: Manage host systems through SSH and SFTP
## Default Credentials
```
Username: admin
Password: admin
```
## Installation
DPanel runs as a container and can be easily deployed using Docker Compose or other container management tools. For specific installation instructions, please refer to the included docker-compose.yml file.
## System Requirements
- Minimal resource requirements
- Compatible with NAS devices, set-top boxes, and small servers
- Supports Docker and Podman container runtimes
## License
Copyright © arch3rPro

22
apps/dpanel/data.yml Normal file
View File

@@ -0,0 +1,22 @@
name: DPanel
tags:
- 实用工具
- Web 服务器
title: 轻量化 docker 可视化管理面板
description:
en: Lightweight Panel for Docker
zh: 轻量化 docker 可视化管理面板
additionalProperties:
key: dpanel
name: DPanel
tags:
- Tool
- Server
shortDescZh: 轻量化 docker 可视化管理面板
shortDescEn: Lightweight Panel for Docker
type: website
crossVersionUpdate: true
limit: 0
website: https://dpanel.cc/
github: https://github.com/donknap/dpanel
document: https://dpanel.cc/README

View File

@@ -0,0 +1,45 @@
additionalProperties:
formFields:
- default: 48080
edit: true
envKey: PANEL_APP_PORT_ADMIN
labelZh: WebUI 端口
labelEn: WebUI port
label:
en: WebUI port
zh: WebUI 端口
required: true
rule: paramPort
type: number
- default: 80
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: HTTP 服务端口
labelEn: HTTP service port
label:
en: HTTP service port
zh: HTTP 服务端口
required: true
rule: paramPort
type: number
- default: 443
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelZh: HTTPS 服务端口
labelEn: HTTPS service port
label:
en: HTTPS service port
zh: HTTPS 服务端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DPANEL_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
label:
en: Data persistence path
zh: 数据持久化路径
required: true
type: text

View File

@@ -0,0 +1,22 @@
services:
dpanel:
image: dpanel/dpanel:latest
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_ADMIN}:8080
- ${PANEL_APP_PORT_HTTP}:80
- ${PANEL_APP_PORT_HTTPS}:443
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}
networks:
1panel-network:
external: true

BIN
apps/dpanel/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB