2018-08-24 14:20:03 +00:00
|
|
|
noOverrideWhitelist:
|
|
|
|
image: containous/whoami
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2019-01-30 15:24:07 +00:00
|
|
|
- traefik.routers.rt1.rule=Host("no.override.whitelist.docker.local")
|
2019-01-18 14:18:04 +00:00
|
|
|
- traefik.routers.rt1.middlewares=wl1
|
|
|
|
- traefik.middlewares.wl1.ipwhiteList.sourceRange=8.8.8.8
|
2018-08-24 14:20:03 +00:00
|
|
|
|
|
|
|
overrideIPStrategyRemoteAddrWhitelist:
|
|
|
|
image: containous/whoami
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2019-01-30 15:24:07 +00:00
|
|
|
- traefik.routers.rt2.rule=Host("override.remoteaddr.whitelist.docker.local")
|
2019-01-18 14:18:04 +00:00
|
|
|
- traefik.routers.rt2.middlewares=wl2
|
|
|
|
- traefik.middlewares.wl2.ipwhitelist.sourceRange=8.8.8.8
|
|
|
|
- traefik.middlewares.wl2.ipwhitelist.ipStrategy=true
|
2018-08-24 14:20:03 +00:00
|
|
|
|
|
|
|
overrideIPStrategyDepthWhitelist:
|
|
|
|
image: containous/whoami
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2019-01-30 15:24:07 +00:00
|
|
|
- traefik.routers.rt3.rule=Host("override.depth.whitelist.docker.local")
|
2019-01-18 14:18:04 +00:00
|
|
|
- traefik.routers.rt3.middlewares=wl3
|
|
|
|
- traefik.middlewares.wl3.ipwhitelist.sourceRange=8.8.8.8
|
|
|
|
- traefik.middlewares.wl3.ipwhitelist.ipStrategy.depth=3
|
2018-08-24 14:20:03 +00:00
|
|
|
|
|
|
|
overrideIPStrategyExcludedIPsWhitelist:
|
|
|
|
image: containous/whoami
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2019-01-30 15:24:07 +00:00
|
|
|
- traefik.routers.rt4.rule=Host("override.excludedips.whitelist.docker.local")
|
2019-01-18 14:18:04 +00:00
|
|
|
- traefik.routers.rt4.middlewares=wl4
|
|
|
|
- traefik.middlewares.wl4.ipwhitelist.sourceRange=8.8.8.8
|
|
|
|
- traefik.middlewares.wl4.ipwhitelist.ipStrategy.excludedIPs=10.0.0.1,10.0.0.2
|