I am trying to setup a fallback of services with a change of hostname.
So my service is serving locally under this name: xxx.dev.company.com and would like to setup traefik to fallback to xxx.company.com if the backend is not availble.
This backend needs to speak to another backend, and this another can be on your machine (then it would like work perfectly without a chagne), or if it is not started on your machine it should fallback to backend2.test.com (so no .dev in the domain name).
Hi Idez,
Thanks for your answer.
(this is not a weird behavior, this is called Ambassador pattern when you have multiple services, but this is not the topic ...)
I cant do what you said, the "fallback" services are not in docker-compose, they are just deployed