发布应用 DPanel 轻量版

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
2024-10-31 12:01:33 +08:00
parent 95d7d2a646
commit 1944d95962
10 changed files with 172 additions and 3 deletions
+17 -1
View File
@@ -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
+5 -2
View File
@@ -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}