update healthcheck for keepalived container
This commit is contained in:
parent
12ea4f0ca4
commit
d05af5cd98
@ -7,7 +7,7 @@ services:
|
|||||||
image: ghcr.io/rmartin16/keepalived:latest
|
image: ghcr.io/rmartin16/keepalived:latest
|
||||||
network_mode: host
|
network_mode: host
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "ip addr show dev management | grep -q {{ deploy_adguard_virtual_ip['vip_addr'] }}"]
|
test: ["CMD-SHELL", "ip addr show dev {{ deploy_adguard_virtual_ip['interface'] }} | grep -q {{ deploy_adguard_virtual_ip['vip_addr'] }}"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
Loading…
Reference in New Issue
Block a user