From 650924976f18aa2ccad799c1805f50e38cb2a1f8 Mon Sep 17 00:00:00 2001 From: Para Dox Date: Sat, 14 Jun 2025 13:25:48 +0700 Subject: [PATCH] allow dshackle to connect to the host --- drpc-free.yml | 2 ++ drpc.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drpc-free.yml b/drpc-free.yml index 791b70ce..1f8d66dd 100644 --- a/drpc-free.yml +++ b/drpc-free.yml @@ -18,6 +18,8 @@ services: - "traefik.http.routers.drpc-free.entrypoints=grpc" - "traefik.http.routers.drpc-free.tls.certresolver=myresolver" - "traefik.http.routers.drpc-free.rule=Host(`$GW_FREE_DOMAIN`)" + extra_hosts: + - "host.docker.internal:host-gateway" networks: - chains logging: diff --git a/drpc.yml b/drpc.yml index 92b0286a..2d7e5b0a 100644 --- a/drpc.yml +++ b/drpc.yml @@ -32,7 +32,8 @@ services: - "traefik.http.routers.dshackle.rule=Host(`$GW_DOMAIN`)" - "${GW_ALLOW_LIST:+traefik.http.middlewares.gwallowlist.ipallowlist.sourcerange=$GW_ALLOW_LIST}" - "${GW_ALLOW_LIST:+traefik.http.routers.dshackle.middlewares=gwallowlist}" - + extra_hosts: + - "host.docker.internal:host-gateway" networks: - chains logging: