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