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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

android - IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling -