Relax health check and restart parameters.
This commit is contained in:
@@ -74,7 +74,7 @@ job "wordpress" {
|
||||
type = "http"
|
||||
port = "http"
|
||||
path = "/wp-admin/install.php"
|
||||
interval = "5s"
|
||||
interval = "10s"
|
||||
timeout = "2s"
|
||||
|
||||
check_restart {
|
||||
@@ -83,6 +83,13 @@ job "wordpress" {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
restart {
|
||||
interval = "1m"
|
||||
attempts = "5"
|
||||
delay = "15s"
|
||||
mode = "delay"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user