Skip to content

Commit

Permalink
fix: set --providers.docker.network=${NETWORK}
Browse files Browse the repository at this point in the history
this will make traefik look for containers inside its own network
which will prevent accessibility issues in cases when traefik tries to
access containers outside of its own network, since our setup is against
that kind of behavior
  • Loading branch information
abmruman committed Mar 24, 2020
1 parent d8393e1 commit 178cfb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
- --entrypoints.websecure.address=:443
- --log.level=${LOG_LEVEL}
- --providers.docker
- --providers.docker.network=${NETWORK}
- --providers.docker.exposedbydefault=false
- --providers.file.filename=/etc/traefik/certs.toml
- --api
Expand Down

0 comments on commit 178cfb0

Please sign in to comment.