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
|
||||
network_mode: host
|
||||
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
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
Loading…
Reference in New Issue
Block a user