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
+43
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
+20
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