Use new check settings
This commit is contained in:
parent
0e788699cd
commit
81228cc97d
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue