25 lines
534 B
HCL
25 lines
534 B
HCL
bind_addr = "{{ GetInterfaceIP \"wgoverlay\" }}"
|
|
|
|
# When we have this many servers in the cluster, automatically run the first leadership election
|
|
# Remember that the Hashicorp stack uses the Raft consensus algorithm.
|
|
bootstrap_expect = 3
|
|
server = true
|
|
ui_config {
|
|
enabled = true
|
|
}
|
|
|
|
client_addr = "127.0.0.1 {{ GetInterfaceIP \"docker0\" }} {{ GetInterfaceIP \"wgoverlay\" }}"
|
|
|
|
data_dir = "/srv/consul"
|
|
log_level = "INFO"
|
|
|
|
domain = "mooncarrot.space."
|
|
|
|
|
|
retry_join = [
|
|
// "172.16.230.100"
|
|
"wopplefox",
|
|
"spatterling",
|
|
"sycadil"
|
|
]
|