From 54c4a42724e8d31fbff573c062874a1cc5f3814f Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Wed, 4 Dec 2024 11:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20DPanel=20=E7=BD=91?= =?UTF-8?q?=E7=BB=9C=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- apps/dpanel-lite/1.3.3/data.yml | 7 +++++++ apps/dpanel-lite/1.3.3/docker-compose.yml | 1 + apps/dpanel/1.3.3/data.yml | 7 +++++++ apps/dpanel/1.3.3/docker-compose.yml | 1 + 4 files changed, 16 insertions(+) diff --git a/apps/dpanel-lite/1.3.3/data.yml b/apps/dpanel-lite/1.3.3/data.yml index 5950bd50..cbd35357 100644 --- a/apps/dpanel-lite/1.3.3/data.yml +++ b/apps/dpanel-lite/1.3.3/data.yml @@ -29,3 +29,10 @@ additionalProperties: labelEn: Admin Password required: true type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelZh: 网络代理 + labelEn: Network Proxy + required: false + type: text diff --git a/apps/dpanel-lite/1.3.3/docker-compose.yml b/apps/dpanel-lite/1.3.3/docker-compose.yml index ebb66aa3..4cecfc6a 100644 --- a/apps/dpanel-lite/1.3.3/docker-compose.yml +++ b/apps/dpanel-lite/1.3.3/docker-compose.yml @@ -22,6 +22,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock environment: - APP_NAME=${CONTAINER_NAME} + - HTTPS_PROXY=${HTTP_PROXY} dpanel-plugin-explorer: image: alpine:latest container_name: dpanel-plugin-explorer diff --git a/apps/dpanel/1.3.3/data.yml b/apps/dpanel/1.3.3/data.yml index 01bfbe8a..7389c1ec 100644 --- a/apps/dpanel/1.3.3/data.yml +++ b/apps/dpanel/1.3.3/data.yml @@ -45,3 +45,10 @@ additionalProperties: labelEn: Admin Password required: true type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelZh: 网络代理 + labelEn: Network Proxy + required: false + type: text diff --git a/apps/dpanel/1.3.3/docker-compose.yml b/apps/dpanel/1.3.3/docker-compose.yml index c775af1d..15bf46b6 100644 --- a/apps/dpanel/1.3.3/docker-compose.yml +++ b/apps/dpanel/1.3.3/docker-compose.yml @@ -24,6 +24,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock environment: - APP_NAME=${CONTAINER_NAME} + - HTTPS_PROXY=${HTTP_PROXY} dpanel-plugin-explorer: image: alpine:latest container_name: dpanel-plugin-explorer