configs for nomad and consul
This commit is contained in:
15
_sys/etc_consul.d/nomad-ui.json
Normal file
15
_sys/etc_consul.d/nomad-ui.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"service": {
|
||||
"ID": "nomad-ui-${HOST_ID}",
|
||||
"Name": "nomad-ui",
|
||||
"Tags": [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.nomad-ui-http.rule=Host(`nomad.service.consul`)"
|
||||
],
|
||||
"Port": 4646,
|
||||
"Check": {
|
||||
"HTTP": "http://172.16.23.21:4646/ui/",
|
||||
"Interval": "10s"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user