Added server options for nomad and consul
This commit is contained in:
26
config/consul.d/common.json
Normal file
26
config/consul.d/common.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"datacenter": "samfelag",
|
||||
"data_dir": "/opt/consul",
|
||||
|
||||
"bind_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
||||
"advertise_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
||||
"client_addr": "{{ GetInterfaceIP \"tailscale0\" }}",
|
||||
|
||||
"ports": {
|
||||
"grpc_tls": 8502
|
||||
},
|
||||
|
||||
"acl": {
|
||||
"enabled": true,
|
||||
"default_policy": "allow",
|
||||
"enable_token_persistence": true
|
||||
},
|
||||
|
||||
"connect": {
|
||||
"enabled": true
|
||||
},
|
||||
|
||||
"performance": {
|
||||
"raft_multiplier": 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user