I would like to start 4 different containers using swarm mode. They may be of the same or different images but will run in the same docker network. Let us say they are myapp1, myapp2…4.
I would like to put them behind a reverse proxy such that if someone access http://m1, the reverse proxy will take the traffic to myapp1, m2 will go to myapp2 and so on.
The intention is to hide the IP addresses of myapp1-4 from external users, while allowing name-based routing to reach them.
I know that swarm mode does load balancing. But here I am looking for DNS-like features. Does swarm mode have such features?