add health check on /healthcheck
This commit is contained in:
parent
2a7d91e333
commit
e5ffb4033c
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ job "nova-timetable" {
|
||||||
service {
|
service {
|
||||||
port = "http"
|
port = "http"
|
||||||
name = "nova-timetable"
|
name = "nova-timetable"
|
||||||
|
check {
|
||||||
|
type = "http"
|
||||||
|
path = "/healthcheck"
|
||||||
|
interval = "10s"
|
||||||
|
timeout = "2s"
|
||||||
|
}
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
|
|
Loading…
Reference in a new issue