I'm trying to understand how I would set up a Docker container (running in Swarm mode) with publicly available IPv6.
I know Docker Swarm uses mesh routing, but I don't quite understand how I can dynamically assign DNS names to addresses.
As an example, let's say I want to run a Git server (with HTTP 80 443 and SSH 22) on git.example.com
and a regular web server at example.com
(with HTTP 80 443). Both have public IPv6 addresses, but I don't want to hard-code the IPv6 address (for example at CloudFlare). After all, this is DevOps!
How would I go about doing this? I assume I need to run my own DNS server for this.
Note: After doing some more research, it seems this is possible with the Docker HTTP Routing Mesh (HRM) which is unfortunately only part of the Enterprise Edition. Does anyone know a similar, open-source approach to this?