traefik/docker-compose.yml aktualisiert
Fix for Container with Docker Network Mode = Host
This commit is contained in:
parent
069e21adbd
commit
fdf088d810
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ services:
|
|||
- "traefik.http.routers.traefik-secure.tls.domains[0].main=${TRAEFIK_SAN_DOMAIN_0?error}"
|
||||
- "traefik.http.routers.traefik-secure.tls.domains[0].sans=*.${TRAEFIK_SAN_DOMAIN_0?error}"
|
||||
- "traefik.http.routers.traefik-secure.service=api@internal"
|
||||
extra_hosts: # Fix for Container with Docker Network Mode = Host as mentioned here https://gist.github.com/gaieges/936bdf91e01e4cc782eb047e5873089b
|
||||
- host.docker.internal:172.18.0.1 # Must match your Docker Network Gateway IP
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
|
|
Loading…
Add table
Reference in a new issue