TCP router + service configuration in dynamic file

I know I can use a label inside of a compose file, as follows:

- "traefik.tcp.services.myservice.loadbalancer.server.port=123"

If I wanted to instead put it in a dynamic config.yml file, how would I do it? I've tried a variety of options, like (maybe the obvious):

tcp:
  services:
    myservice:
      loadBalancer:
        server:
          port: 123

I've also tried:

tcp:
  services:
    myservice:
      loadBalancer:
        servers:
          - address: 'tcp://myservice:123'

... and a variety of other takes on similar configs, but have yet to be successful

Here is the example from the Traefik TCP service doc, address is only IP:

## Dynamic configuration
tcp:
  services:
    my-service:
      loadBalancer:
        servers:
        - address: "xx.xx.xx.xx:xx"
        - address: "xx.xx.xx.xx:xx"

Note that you also need a TCP router.

For use with labels, check simple Traefik TCP example.

@bluepuma77,

Yep, removing the tcp:// in my - address: line sorted this out for me. Using the internal name resolution inside of my docker network allowed me to address it as:

servers:
  - address: "myservice:123"

At least it's now working more like I anticipated it to. I'm still fighting some issues with the container I'm using, but I don't think that has anything to do with Traefik itself, but rather the container setup and its requirements.