Skip to content

Instantly share code, notes, and snippets.

@abhisekpadhi
Created May 13, 2020 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhisekpadhi/2f177ba4ec91df2b04ff80b47a7b9d8d to your computer and use it in GitHub Desktop.
Save abhisekpadhi/2f177ba4ec91df2b04ff80b47a7b9d8d to your computer and use it in GitHub Desktop.
consul server config
{
"server" : true,
"datacenter" : "abhisek-local",
"data_dir" : "/Users/abhisek.padhi/consuldata",
"encrypt" : "2zEv+mV4jJ1SX2DfxqRlIA==",
"log_level" : "INFO",
"enable_syslog" : true,
"disable_update_check": true,
"start_join" : ["127.0.0.1"],
"node_name": "abhisek-macbook",
"dns_config": {
"allow_stale": true,
"max_stale": "60s",
"enable_truncate": true
},
"performance": {
"raft_multiplier": 1,
"rpc_hold_timeout":"30s"
},
"http_config": {
"response_headers": {
"Access-Control-Allow-Origin": "*"
}
},
"addresses" : {
"http": "127.0.0.1"
},
"ports" : {
"http" : 9000
}
}
@abhisekpadhi
Copy link
Author

To start consul server with ui - consul agent -config-file=server_config.json -ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment