Problem,
I have multiple services that are deployed on Docker containers. Each set of our clients should be routed to a specific service. Example:
- Client1 -> service1
- Client2 -> service1
- client3 -> service2
This should done using subdomain: client1= client1.example.com client2 = client2.example.com
Question:
I would like this config to be dynamic meaning that Traefik needs to get these routing rules dynamically from another service:
- I can for example create a service that giving a hostname return the name of service that Traefik should route to.
- Or maybe when a client is added I can push this rule to Traefik.
Details:
This feature is useful when I create a saas application.
Thank you very much.