Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 649 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 649 Bytes

Docker Internal DNS round robin demo

This demo was made to demonstrate how the internal DNS from docker makes the round robin if there is more than one guy with tha same alias on the network.

Just run the stack

docker-compose up -d

Then scale

docker-compose scale web=6

Test it with curl, wget, or refreshing the app with a browser

Credits:

PS: Before it I was using Json Wilder awesome proxy container: https://github.com/jwilder/nginx-proxy .