Relax health check and restart parameters.

This commit is contained in:
2024-11-08 07:45:21 +00:00
parent 328c626892
commit 5ae1c217fe

View File

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