This post was originally published on this site
Sometimes the local name resolution from docker-compose or cloud map is not enough. Sometimes you need the public FQDN, like when you startup a Kafka cluster. I’ll show you how you can handover the public DNS name of your loadbalancer to the container with an environment variable. Let’s start a little bit earlier. My setup …
Continue reading “How to handover your public endpoint with docker-compose and ECS”