-
Notifications
You must be signed in to change notification settings - Fork 11
/
consul.hcl
71 lines (46 loc) · 1.18 KB
/
consul.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Full configuration options can be found at https://www.consul.io/docs/agent/options.html
advertise_addr = "{{ GetInterfaceIP `ens160` }}"
auto_encrypt {
allow_tls = true
}
autopilot {
upgrade_version_tag = "build"
}
bootstrap_expect = 3
ca_file = "/etc/consul.d/consul-agent-ca.pem"
cert_file = "/etc/consul.d/dc1-server-consul.pem"
client_addr = "0.0.0.0"
connect {
enabled = true
enable_mesh_gateway_wan_federation = true
}
datacenter = "dc1"
data_dir = "/opt/consul"
enable_local_script_checks = true
encrypt = ""
key_file = "/etc/consul.d/dc1-server-consul-key.pem"
license_path = "/etc/consul.d/license.hclic"
log_level = "INFO"
node_meta {
build = "0.0.0"
}
ports {
grpc = 8502
http = -1
https = 8501
}
primary_datacenter = "dc1"
retry_join = ["192.168.0.101", "192.168.0.102", "192.168.0.103", "192.168.0.104", "192.168.0.105", "192.168.0.106"]
server = true
telemetry {
disable_hostname = true
dogstatsd_addr = "localhost:8125"
prometheus_retention_time = "30s"
}
ui_config {
enabled = true
}
verify_incoming = false
verify_incoming_rpc = true
verify_outgoing = true
verify_server_hostname = true