From 913a41cc638e09d67c9af4cc75f2da28fea8c68f Mon Sep 17 00:00:00 2001 From: ytqh Date: Sat, 18 Jan 2025 22:43:50 +0800 Subject: [PATCH] update --- docker/docker-compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 36128cb620..a5273c2d8f 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -5,8 +5,8 @@ # ================================================================== x-shared-env: &shared-api-worker-env - HTTP_PROXY: http://host.docker.internal:1081 - HTTPS_PROXY: http://host.docker.internal:1081 + HTTP_PROXY: ${HTTP_PROXY:-} + HTTPS_PROXY: ${HTTPS_PROXY:-} NO_PROXY: localhost,127.0.0.1 CONSOLE_API_URL: ${CONSOLE_API_URL:-} CONSOLE_WEB_URL: ${CONSOLE_WEB_URL:-} @@ -423,6 +423,8 @@ services: worker: image: akiyu303/lefeng-api:latest restart: always + extra_hosts: + - "host.docker.internal:host-gateway" environment: # Use the shared environment variables. <<: *shared-api-worker-env