Use new check settings

This commit is contained in:
Daniel Berteaud 2024-04-12 08:36:33 +02:00
parent 0e788699cd
commit 81228cc97d
2 changed files with 3 additions and 4 deletions

View File

@ -74,7 +74,7 @@ job "immich" {
path = "/api/server-info/ping"
expose = true
interval = "30s"
timeout = "15s"
timeout = "5s"
check_restart {
limit = 10
grace = "300s"
@ -280,7 +280,6 @@ _EOT
config {
image = "danielberteaud/valkey:24.4-1"
readonly_rootfs = true
force_pull = true
pids_limit = 100
args = ["/local/valkey.conf"]
}

View File

@ -24,8 +24,8 @@ job "[[ .instance ]]" {
type = "http"
path = "/api/server-info/ping"
expose = true
interval = "30s"
timeout = "15s"
interval = "[[ $c.consul.check.interval ]]"
timeout = "[[ $c.consul.check.timeout ]]"
check_restart {
limit = 10
grace = "300s"