docker - How to use whitelisting per container -
i'm using traefik in docker-mode. it's retrieving config (acme.domains, enabled, frontend-rules,...) docker containers.
currently containers reachable www (0.0.0.0). i'm wondering how restrict access single container dedicated ip-addresses.
the docker labels of private web-service like:
labels: - "traefik.enable=true" - "traefik.backend='private container'" - "traefik.whitelistsourcerange=192.168.1.0/24"
the whitelisted ip in case of course example. private ip-subnet.
maybe it's possible set frontend-rule bases on "client.ip"?
thanks help!
Comments
Post a Comment