Use new check settings
This commit is contained in:
parent
0e788699cd
commit
81228cc97d
|
@ -74,7 +74,7 @@ job "immich" {
|
||||||
path = "/api/server-info/ping"
|
path = "/api/server-info/ping"
|
||||||
expose = true
|
expose = true
|
||||||
interval = "30s"
|
interval = "30s"
|
||||||
timeout = "15s"
|
timeout = "5s"
|
||||||
check_restart {
|
check_restart {
|
||||||
limit = 10
|
limit = 10
|
||||||
grace = "300s"
|
grace = "300s"
|
||||||
|
@ -280,7 +280,6 @@ _EOT
|
||||||
config {
|
config {
|
||||||
image = "danielberteaud/valkey:24.4-1"
|
image = "danielberteaud/valkey:24.4-1"
|
||||||
readonly_rootfs = true
|
readonly_rootfs = true
|
||||||
force_pull = true
|
|
||||||
pids_limit = 100
|
pids_limit = 100
|
||||||
args = ["/local/valkey.conf"]
|
args = ["/local/valkey.conf"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,8 @@ job "[[ .instance ]]" {
|
||||||
type = "http"
|
type = "http"
|
||||||
path = "/api/server-info/ping"
|
path = "/api/server-info/ping"
|
||||||
expose = true
|
expose = true
|
||||||
interval = "30s"
|
interval = "[[ $c.consul.check.interval ]]"
|
||||||
timeout = "15s"
|
timeout = "[[ $c.consul.check.timeout ]]"
|
||||||
check_restart {
|
check_restart {
|
||||||
limit = 10
|
limit = 10
|
||||||
grace = "300s"
|
grace = "300s"
|
||||||
|
|
Loading…
Reference in New Issue