From b6394771ab4f7fc04e62baa998d9f403853fad90 Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 12 Feb 2025 11:58:13 +0800 Subject: [PATCH 1/2] fix: can not connect host.docker.internal host --- docker/docker-compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 33379e4b8c..6943a937ea 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -416,6 +416,8 @@ services: networks: - ssrf_proxy_network - default + extra_hosts: + - "host.docker.internal:host-gateway" # worker service # The Celery worker for processing the queue. @@ -439,6 +441,8 @@ services: networks: - ssrf_proxy_network - default + extra_hosts: + - "host.docker.internal:host-gateway" # Frontend web application. web: From 8c1f275da522e9f142df6324ae6ce54094ec5b3b Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 12 Feb 2025 13:33:20 +0800 Subject: [PATCH 2/2] fix style --- docker/docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 6943a937ea..bf5f34af82 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -417,7 +417,7 @@ services: - ssrf_proxy_network - default extra_hosts: - - "host.docker.internal:host-gateway" + - host.docker.internal:host-gateway # worker service # The Celery worker for processing the queue. @@ -442,7 +442,7 @@ services: - ssrf_proxy_network - default extra_hosts: - - "host.docker.internal:host-gateway" + - host.docker.internal:host-gateway # Frontend web application. web: