Static service endpoints with Docker labels

I can configure a service with the file provider like so:

        serversTransport: insecureTransport@file
          - url: ""

I'm running Traefik on ECS, so file providers are not ideal (they have to be baked into the image).

I'd like to define the same service using Docker labels, something like this:

"" = ""

Is this a possibility?

The needed parameter loadBalancer.servers.url is not supported in dynamic config from Docker (reference), only from providers.file.

Make sure to leave a "Thumb up" on this Gihub issue to show your interest in this feature.

PS: Note that the index is usually written in square brackets in the docs:


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.