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

32 lines
521 B
Plaintext
Raw Normal View History

global_defs {
default_interface {{ KEEPALIVED_INTERFACE }}
}
2015-06-16 12:06:49 +00:00
vrrp_instance VI_1 {
interface {{ KEEPALIVED_INTERFACE }}
2015-06-15 19:33:06 +00:00
track_interface {
{{ KEEPALIVED_INTERFACE }}
2015-06-15 19:33:06 +00:00
}
2015-07-09 19:41:14 +00:00
state BACKUP
virtual_router_id {{ KEEPALIVED_ROUTER_ID }}
priority {{ KEEPALIVED_PRIORITY }}
2015-06-15 19:33:06 +00:00
nopreempt
2015-06-09 18:41:43 +00:00
2015-06-16 09:13:22 +00:00
unicast_peer {
{{ KEEPALIVED_UNICAST_PEERS }}
2015-06-16 09:13:22 +00:00
}
2015-06-09 18:41:43 +00:00
virtual_ipaddress {
{{ KEEPALIVED_VIRTUAL_IPS }}
2015-06-09 18:41:43 +00:00
}
authentication {
auth_type PASS
auth_pass {{ KEEPALIVED_PASSWORD }}
2015-06-09 18:41:43 +00:00
}
2016-08-29 07:25:20 +00:00
{{ KEEPALIVED_NOTIFY }}
2015-06-09 18:41:43 +00:00
}