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 -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -