Skip to content

Instantly share code, notes, and snippets.

@planetrobbie
Created January 14, 2019 13:41
Show Gist options
  • Save planetrobbie/46fb687f3e5d3a5d6d771c8ab4eb220e to your computer and use it in GitHub Desktop.
Save planetrobbie/46fb687f3e5d3a5d6d771c8ab4eb220e to your computer and use it in GitHub Desktop.
consul agent
{
"addresses": {
"dns": "127.0.0.1",
"grpc": "127.0.0.1",
"http": "127.0.0.1",
"https": "127.0.0.1"
},
"advertise_addr": "10.132.0.4",
"advertise_addr_wan": "10.132.0.4",
"bind_addr": "10.132.0.4",
"client_addr": "127.0.0.1",
"data_dir": "/var/consul",
"datacenter": "dc1",
"disable_update_check": false,
"domain": "consul",
"enable_script_checks": false,
"enable_syslog": true,
"encrypt": "<KEY>",
"log_level": "INFO",
"node_name": "cc1",
"performance": {
"leave_drain_time": "5s",
"raft_multiplier": 1,
"rpc_hold_timeout": "7s"
},
"ports": {
"dns": 8600,
"grpc": -1,
"http": 8500,
"https": -1,
"serf_lan": 8301,
"serf_wan": 8302,
"server": 8300
},
"raft_protocol": 3,
"retry_interval": "30s",
"retry_join": [
"10.132.0.6",
"10.132.0.5",
"10.132.0.3"
],
"retry_max": 0,
"server": false,
"syslog_facility": "local0",
"ui": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment