Created
May 13, 2020 07:14
-
-
Save abhisekpadhi/2f177ba4ec91df2b04ff80b47a7b9d8d to your computer and use it in GitHub Desktop.
consul server config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To start consul server with ui -
consul agent -config-file=server_config.json -ui