diff --git a/_sys/etc_consul.d/consul-ui.json b/_sys/etc_consul.d/consul-ui.json new file mode 100644 index 0000000..6819714 --- /dev/null +++ b/_sys/etc_consul.d/consul-ui.json @@ -0,0 +1,15 @@ +{ + "service": { + "ID": "consul-ui-pine01", + "Name": "consul-ui", + "Tags": [ + "traefik.enable=true", + "traefik.http.routers.nomad-ui-http.rule=Host(`consul.service.consul`)" + ], + "Port": 8500, + "Check": { + "HTTP": "http://172.16.23.21:8500/ui/", + "Interval": "60s" + } + } +} diff --git a/_sys/etc_consul.d/nomad-ui.json b/_sys/etc_consul.d/nomad-ui.json index e6007a1..af19468 100644 --- a/_sys/etc_consul.d/nomad-ui.json +++ b/_sys/etc_consul.d/nomad-ui.json @@ -1,6 +1,6 @@ { "service": { - "ID": "nomad-ui-${HOST_ID}", + "ID": "nomad-ui-pine01", "Name": "nomad-ui", "Tags": [ "traefik.enable=true", @@ -9,7 +9,7 @@ "Port": 4646, "Check": { "HTTP": "http://172.16.23.21:4646/ui/", - "Interval": "10s" + "Interval": "60s" } } }