allow dshackle to connect to the host

This commit is contained in:
Para Dox
2025-06-14 13:25:48 +07:00
parent e467904304
commit 650924976f
2 changed files with 4 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ services:
- "traefik.http.routers.drpc-free.entrypoints=grpc" - "traefik.http.routers.drpc-free.entrypoints=grpc"
- "traefik.http.routers.drpc-free.tls.certresolver=myresolver" - "traefik.http.routers.drpc-free.tls.certresolver=myresolver"
- "traefik.http.routers.drpc-free.rule=Host(`$GW_FREE_DOMAIN`)" - "traefik.http.routers.drpc-free.rule=Host(`$GW_FREE_DOMAIN`)"
extra_hosts:
- "host.docker.internal:host-gateway"
networks: networks:
- chains - chains
logging: logging:

View File

@@ -32,7 +32,8 @@ services:
- "traefik.http.routers.dshackle.rule=Host(`$GW_DOMAIN`)" - "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.middlewares.gwallowlist.ipallowlist.sourcerange=$GW_ALLOW_LIST}"
- "${GW_ALLOW_LIST:+traefik.http.routers.dshackle.middlewares=gwallowlist}" - "${GW_ALLOW_LIST:+traefik.http.routers.dshackle.middlewares=gwallowlist}"
extra_hosts:
- "host.docker.internal:host-gateway"
networks: networks:
- chains - chains
logging: logging: