增加 DPanel 网络代理

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
新疆萌森软件开发工作室 2024-12-04 11:31:49 +08:00
parent 42509ae22f
commit 54c4a42724
4 changed files with 16 additions and 0 deletions

View File

@ -29,3 +29,10 @@ additionalProperties:
labelEn: Admin Password labelEn: Admin Password
required: true required: true
type: text type: text
- default: ""
edit: true
envKey: HTTP_PROXY
labelZh: 网络代理
labelEn: Network Proxy
required: false
type: text

View File

@ -22,6 +22,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- APP_NAME=${CONTAINER_NAME} - APP_NAME=${CONTAINER_NAME}
- HTTPS_PROXY=${HTTP_PROXY}
dpanel-plugin-explorer: dpanel-plugin-explorer:
image: alpine:latest image: alpine:latest
container_name: dpanel-plugin-explorer container_name: dpanel-plugin-explorer

View File

@ -45,3 +45,10 @@ additionalProperties:
labelEn: Admin Password labelEn: Admin Password
required: true required: true
type: text type: text
- default: ""
edit: true
envKey: HTTP_PROXY
labelZh: 网络代理
labelEn: Network Proxy
required: false
type: text

View File

@ -24,6 +24,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- APP_NAME=${CONTAINER_NAME} - APP_NAME=${CONTAINER_NAME}
- HTTPS_PROXY=${HTTP_PROXY}
dpanel-plugin-explorer: dpanel-plugin-explorer:
image: alpine:latest image: alpine:latest
container_name: dpanel-plugin-explorer container_name: dpanel-plugin-explorer