3e9ae481ce
Ensure that we're reusing the base configuration between client and servers without the possibility of drift. Reduce the amount of `sed` mangling of the configuration file, and make recommended changes from `shellcheck` for this section of the provisioning script. Fixes some rebase errors on the Nomad config as well.
21 lines
372 B
JSON
21 lines
372 B
JSON
{
|
|
"log_level": "INFO",
|
|
"server": true,
|
|
"ui": true,
|
|
"data_dir": "/opt/consul/data",
|
|
"bind_addr": "0.0.0.0",
|
|
"client_addr": "0.0.0.0",
|
|
"advertise_addr": "{{ GetPrivateIP }}",
|
|
"bootstrap_expect": SERVER_COUNT,
|
|
"service": {
|
|
"name": "consul"
|
|
},
|
|
"retry_join": ["RETRY_JOIN"],
|
|
"connect": {
|
|
"enabled": true
|
|
},
|
|
"ports": {
|
|
"grpc": 8502
|
|
}
|
|
}
|