docker-keepalived/image/service/keepalived/assets/keepalived.conf

28 lines
433 B
Plaintext

vrrp_instance VI_1 {
interface {{ keepalived_interface }}
track_interface {
{{ keepalived_interface }}
}
state BACKUP
virtual_router_id 51
priority {{ keepalived_priority }}
nopreempt
unicast_peer {
{{ keepalived_unicast_peers }}
}
virtual_ipaddress {
{{ keepalived_virtual_ips }}
}
authentication {
auth_type PASS
auth_pass {{ keepalived_password }}
}
{{ keepalived_notify }}
}