configs for nomad and consul

This commit is contained in:
2023-09-27 11:53:38 +02:00
parent 2ba6fbacca
commit d6457d862a
5 changed files with 135 additions and 0 deletions

View 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"
}
}
}