This image starts confd that periodically polls the rancher metadata service so it autoconfigures a default load balancer and also updates records in a dns directory based on labels on other stacks.
The idea is forked from https://github.com/Mikroways/rancher-haproxy
- Create your custom stack as usual
- Configure your containers as mentioned in https://github.com/Mikroways/rancher-haproxy
- Add an environment variable called DNS_SERVER to the container instantiated from this image pointing to you DNS server (either an IP adress or the domain name may be specified here).