Configure tags for the default consul service?

Hi,

simple question: can I configure tags for the default consul service? I’m talking about this one:

I need this to access the web UI through Traefik. In Nomad I got it running by adding a tag like this (the router for the Nomad UI is part of the Traefik job service tags):

consul {
tags = [
“traefik.enable=true”,
]
}

Hi @Marvin,

Currently it is not possible to set tags for internal services registered by Consul. You will need explicitly configure a route in Traefik to the host(s) running the Consul UI.

1 Like

Hi blake, thank you for your answer :slight_smile:. I have disabled the UI for now. Not ideal, but I don’t really need it unless it stops working, which probably won’t happen.