Traefik is a fast, powerful, and easy-to-use reverse proxy. You run it in a container and publish the HTTP (or HTTPS) port, and configure the container to listen for events from the Docker Engine API:
docker container run -d -P ` --volume \\.\pipe\docker_engine:\\.\pipe\docker_engine ` sixeyed/traefik:v1.7.8-windowsservercore-ltsc2019 ` --docker --docker.endpoint=npipe:////./pipe/docker_engine
Traefik is an official image on Docker Hub, but just like NATS the only Windows images available are based on Windows Server 2016. I'm using my own image here, based on Windows Server 2019. The Dockerfile is in my sixeyed/dockerfiles-windows repository on GitHub, but you should check Docker Hub to ...
Get Docker on Windows - Second Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.