The current doc (at this point v3.3) does not enable url on labels, only in file:
http:
services:
my-service:
loadBalancer:
servers:
- url: "http://private-ip-server-1/"
Also experimental doc does not include it in labels.
Also docker reference experimental does not include it:
- "traefik.http.services.service02.loadbalancer.server.port=foobar"
- "traefik.http.services.service02.loadbalancer.server.preservepath=true"
- "traefik.http.services.service02.loadbalancer.server.scheme=foobar"
- "traefik.http.services.service02.loadbalancer.server.url=foobar"
- "traefik.http.services.service02.loadbalancer.server.weight=42"
But in master
branch providers.docker
there is such a label (code):
"traefik.http.services.Service1.LoadBalancer.server.url": "http://1.2.3.4:5678"
And the issue has been closed now. Latest release v3.3.1 is older than the pull request, so we hopefully get it in the next release