Use Traefik as service bus for Development Setup with docker-compose

After getting over my fixation, I saw I was looking in the wrong place.

I found two ways to do that, I'd appreciate a honest opinion about them.

Way one: with a service sending to the localhost loopback.

Although this way looks cleaner in the diagram - I have a gut feeling it's more dirty on the network.

Way Two: add a router per endpoint.

At least, by theory.

Once I get it working I'll commit this to the repo. If I get both ways working - it will be two different branches.

Edited:

It worked!

I committed to master the solution based on a dynamic router per endpoint that uses that service, I may be convinced to try the other too if experts here will advice so, but for now I go with my gut feelings :slight_smile:

Any expert comment will be appreciated