-
-
Save bigmyx/0fdbd59ce27340128110bbf1cec793cd to your computer and use it in GitHub Desktop.
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 | |
ui = true | |
datacenter = "electric-v1" | |
data_dir = "/opt/consul/data" | |
encrypt = "xxxx" | |
retry_join = ["provider=gce tag_value=electric-consul-vm"] | |
disable_update_check = true | |
domain = "consul" | |
enable_syslog = true | |
log_level = "info" | |
ports { | |
dns = 8600 | |
http = 8500 | |
https = -1 | |
serf_lan = 8301 | |
serf_wan = 8302 | |
server = 8300 | |
} | |
addresses { | |
dns = "0.0.0.0" | |
http = "0.0.0.0" | |
https = "127.0.0.1" | |
} | |
raft_protocol = 3 | |
recursors = [ | |
"8.8.8.8", | |
"8.8.4.4" | |
] | |
bootstrap_expect = 1 |
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
services = [ | |
{ | |
name = "elasticsearch" | |
port = 9200 | |
tags = ["elasticsearch", "HTTP"] | |
checks = [ | |
{ | |
id = "elasticsearch" | |
interval = "1s" | |
name = "ES HTTP port tcp 9200" | |
tcp = "127.0.0.1:9200" | |
timeout = "2s" | |
} | |
] | |
}, | |
{ | |
name = "elasticsearch-transport" | |
port = 9300 | |
tags = ["elasticsearch", "transport"] | |
checks = [ | |
{ | |
id = "elasticsearch-transport" | |
interval = "1s" | |
name = "ES Transport port tcp 9300" | |
tcp = "127.0.0.1:9300" | |
timeout = "2s" | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment