forked from Deuxfleurs/nixcfg
Fix nomad talking to consul
This commit is contained in:
parent
0d2d46f437
commit
1172e8e511
1 changed files with 4 additions and 1 deletions
|
@ -214,6 +214,9 @@ in
|
||||||
https = 8501;
|
https = 8501;
|
||||||
dns = 53;
|
dns = 53;
|
||||||
};
|
};
|
||||||
|
performance = {
|
||||||
|
rpc_hold_timeout = "70s";
|
||||||
|
};
|
||||||
|
|
||||||
recursors = [ cfg.nameservers ];
|
recursors = [ cfg.nameservers ];
|
||||||
|
|
||||||
|
@ -251,7 +254,7 @@ in
|
||||||
serf = "${cfg.cluster_ip}";
|
serf = "${cfg.cluster_ip}";
|
||||||
};
|
};
|
||||||
consul = {
|
consul = {
|
||||||
address = "consul.service.prod.consul:8501";
|
address = "localhost:8501";
|
||||||
ca_file = "/var/lib/nomad/pki/consul2022.crt";
|
ca_file = "/var/lib/nomad/pki/consul2022.crt";
|
||||||
cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
|
cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
|
||||||
key_file = "/var/lib/nomad/pki/consul2022-client.key";
|
key_file = "/var/lib/nomad/pki/consul2022-client.key";
|
||||||
|
|
Loading…
Reference in a new issue