I try to set a container that exposes two ports. I set
labels:
- traefik.enable=true
- traefik.port=3000
- traefik.docker.network=web
...
...
The services exposes two ports
"NetworkSettings": {
"Bridge": "",
"SandboxID": "9c631f5aa1af0eb04befa34eb72fc71fe92e2122285465c94bdd552337be26bf",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"22/tcp": null,
"3000/tcp": null
},
...
...
And traefik keeps assigning port number 22 to the service:
What could be wrong?