I am using traefik version 2.8.3
I am using consul as one of the provider using consulCatalog
consulCatalog:
defaultRule: "Host(`{{ .Name }}.example.com`)"
watch: true
endpoint:
address: http://private_ip_address:8500
then this service shows up in
traefik as
Host(`pihole-80.example.com`)
How can get rid hyphens and numbers when registering services. but not the hyphens in between like in case of uptime-kuma.example.com is fine.
to register service to consul I have gliderlabs/registrator container running.
Although I would like to get rid of number and hyphen at traefik level when we set default rule, if its possible but I think it should also be possible of gliderlabs/registrator level.