mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-02 11:42:11 +08:00
feat(dpanel): 添加 DPanel 应用及其相关配置文件
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user