Skip to content

Instantly share code, notes, and snippets.

@yildirima yildirima/bootstrap.json
Last active Mar 2, 2019

Embed
What would you like to do?
Consul Configuration
# vi /appdata/consulv1/config/bootstrap.json
{
"bootstrap": true,
"server": true,
"data_dir": "/appdata/consulv1/data",
"encrypt": "e6c0648e561dccadad32d6a3e579b63d",
"datacenter": "DC1",
"log_level": "INFO",
"enable_syslog": true,
"disable_update_check": true,
"ports": {
"server": 8303,
"http": 8501,
"dns" : 8601,
"serf_lan" : 8304,
"serf_wan" : -1
}
}
# vi /appdata/consulv1/config/server.json
{
"bootstrap": false,
"server": true,
"data_dir": "/appdata/consulv1/data",
"encrypt": "e6c0648e561dccadad32d6a3e579b63d",
"datacenter": "DC1",
"log_level": "INFO",
"enable_syslog": true,
"disable_update_check": true,
"start_join": ["<IP_Addres>"],
"ports": {
"server": 8303,
"http": 8501,
"dns" : 8601,
"serf_lan" : 8304,
"serf_wan" : -1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.