Can traefik directly access services in consul?

I am a novice,

I don't like to define too many service IPs in traefik, because my service may change the IP at any time, which causes me to frequently modify the configuration in traefik. (Also restart traefik)

Suppose I don’t know the IP address of my service, can traefik automatically retrieve the address of the service from consul and access it automatically?

1 Like