From 8924e74ed691550078fc4b838fb30f960a93ec54 Mon Sep 17 00:00:00 2001 From: ytqh Date: Fri, 2 May 2025 22:03:47 +0800 Subject: [PATCH] chore: add proxy for web --- docker/docker-compose-template.yaml | 3 +++ docker/docker-compose.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker/docker-compose-template.yaml b/docker/docker-compose-template.yaml index 528dc01647..c259cdc216 100644 --- a/docker/docker-compose-template.yaml +++ b/docker/docker-compose-template.yaml @@ -87,6 +87,9 @@ services: image: langgenius/dify-web:1.3.1 restart: always environment: + HTTP_PROXY: ${HTTP_PROXY:-} + HTTPS_PROXY: ${HTTPS_PROXY:-} + NO_PROXY: ${NO_PROXY:-} CONSOLE_API_URL: ${CONSOLE_API_URL:-} APP_API_URL: ${APP_API_URL:-} SENTRY_DSN: ${WEB_SENTRY_DSN:-} diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 8f1542461b..c86ae85f95 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -597,6 +597,9 @@ services: image: langgenius/dify-web:1.3.1 restart: always environment: + HTTP_PROXY: ${HTTP_PROXY:-} + HTTPS_PROXY: ${HTTPS_PROXY:-} + NO_PROXY: ${NO_PROXY:-} CONSOLE_API_URL: ${CONSOLE_API_URL:-} APP_API_URL: ${APP_API_URL:-} SENTRY_DSN: ${WEB_SENTRY_DSN:-}