mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user