I was preparing to deploy a production application to AWS Fargate, and to practice I wanted to play with DNS polling and node discovery on localhost.
Here is the demo project that I was using: Aleksandr Lossenko / phx_cluster · GitLab
Maybe it will be useful for someone. It has a good example how to build a production release in a Docker container and how to setup libcluster for automatic node discovery with DNS.






















