Easy as 1-2-3, just make sure you have docker
locally, and run docker-compose up
!
Look at the logs you get for both containers, app1
and app2
when making requests:
curl localhost/potato
produces a log for both appscurl -X POST localhost/potato
produces logs for app1 only!
🎉