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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -