Generic TCP ambassador
Shell Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Generic TCP ambassador.

Full credit to SvenDoweit. I'd fork it but I can't do that with a subfolder:

Details of the ambassador pattern here:

The TLDR is that you use this to avoid hard-coding networking details in the primary container. A secondary bonus is that DNS lookup appears to happen each new connection using the system's resolver, making it perfect for ELB.


Include in the docker-compose.yml of the relevant projects whenever ambassadorial services are required.