I have been asked to look into using Docker Swarm at our work.
We currently have a HAProxy load balancer and 8 IIS webservers.
Is it possible to keep using our HAProxy as a load balancer if we make a Docker Swarm?
But without making our HAProxy run in a container.
I have been googling like crazy, and everywhere I look, all the examples I find have HAProxy running in a container, which is not what we want.
Our goal is to have HAProxy directly connect to service in the container, without using the Docker routing mesh.
From what I can tell from my googling, it could be done by using the Docker DNS as a resolver in HAProxy.
Basically like described in this article, but with HAProxy outside the Docker Swarm:
But how do I access the Docker DNS outside the swarm?