Skip to content

Instantly share code, notes, and snippets.

@GuyBarros
Created January 31, 2019 09:53
Show Gist options
  • Save GuyBarros/c4cc185fb70f879a5dc66107f4777e94 to your computer and use it in GitHub Desktop.
Save GuyBarros/c4cc185fb70f879a5dc66107f4777e94 to your computer and use it in GitHub Desktop.
{
"acl_datacenter": "dc1",
"acl_master_token": "${consul_master_token}",
"acl_token": "${consul_master_token}",
"acl_default_policy": "allow",
"advertise_addr": "$(private_ip)",
"advertise_addr_wan": "$(public_ip)",
"bootstrap_expect": ${consul_servers},
"bind_addr": "$(private_ip)",
"data_dir": "/mnt/consul",
"disable_update_check": true,
"encrypt": "${consul_gossip_key}",
"leave_on_terminate": true,
"node_name": "${node_name}",
"raft_protocol": 3,
"retry_join": ["provider=aws tag_key=${consul_join_tag_key} tag_value=${consul_join_tag_value}"],
"server": true,
"addresses": {
"http": "127.0.0.1",
"https": "$(private_ip)"
},
"ports": {
"http": 8500,
"https": 8533
},
"key_file": "/etc/ssl/certs/me.key",
"cert_file": "/etc/ssl/certs/me.crt",
"ca_file": "/usr/local/share/ca-certificates/01-me.crt",
"verify_incoming": false,
"verify_outgoing": false,
"verify_server_hostname": false,
"ui": true,
"autopilot": {
"cleanup_dead_servers": true,
"last_contact_threshold": "200ms",
"max_trailing_logs": 250,
"server_stabilization_time": "10s",
"redundancy_zone_tag": "",
"disable_upgrade_migration": false,
"upgrade_version_tag": ""
},
"connect":{
"enabled": true,
"proxy": { "allow_managed_root": true }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment