move the ip whitelist to the traefik container

This commit is contained in:
czarly
2022-03-15 14:35:57 +04:00
parent 165a7426d1
commit 5c06b75b12
14 changed files with 6 additions and 18 deletions

View File

@@ -38,7 +38,6 @@ services:
- "geth-mainnet_data:/root/.ethereum"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ipwhitelist.ipwhitelist.sourcerange=$WHITELIST"
- "traefik.http.middlewares.mainnet-stripprefix.stripprefix.prefixes=/mainnet"
- "traefik.http.services.mainnet.loadbalancer.server.port=8545"
- "traefik.http.routers.mainnet.entrypoints=websecure"