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

28 lines
481 B
Plaintext

global_defs {
default_interface {{ KEEPALIVED_INTERFACE }}
}
vrrp_instance VI_1 {
interface {{ KEEPALIVED_INTERFACE }}
state {{ KEEPALIVED_STATE }}
virtual_router_id {{ KEEPALIVED_ROUTER_ID }}
priority {{ KEEPALIVED_PRIORITY }}
nopreempt
unicast_peer {
{{ KEEPALIVED_UNICAST_PEERS }}
}
virtual_ipaddress {
{{ KEEPALIVED_VIRTUAL_IPS }}
}
authentication {
auth_type PASS
auth_pass {{ KEEPALIVED_PASSWORD }}
}
{{ KEEPALIVED_NOTIFY }}
}