I'm using traefik on a docker swarm.
I have been trying to understand why traefik uses a service called api@internal, and where does it come from. From what I understand it was created for the sole purpose of exposing the dashboard from the same container as the container where all the service discovery stuff is handled . I could not find any explanation online except from basically "use it to make it work".
What does api means? Cannot it be something else?
What does the @ do?
Same questions with internal
I would like to know if this concept is very specific to the dashboard and exists only for technical reasons, or if this concept could / should be applied on other containers as well.
Ok I get it, I didn't search for the namespace keyword. This makes sense now.
I assume it does not work only with middlewares then. A router in some provider must be able to refer to a service defined with another provider (I guess this is what's happening with api@internal, api being the service name defined internally)