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;
|
||||
dns = 53;
|
||||
};
|
||||
performance = {
|
||||
rpc_hold_timeout = "70s";
|
||||
};
|
||||
|
||||
recursors = [ cfg.nameservers ];
|
||||
|
||||
|
@ -251,7 +254,7 @@ in
|
|||
serf = "${cfg.cluster_ip}";
|
||||
};
|
||||
consul = {
|
||||
address = "consul.service.prod.consul:8501";
|
||||
address = "localhost:8501";
|
||||
ca_file = "/var/lib/nomad/pki/consul2022.crt";
|
||||
cert_file = "/var/lib/nomad/pki/consul2022-client.crt";
|
||||
key_file = "/var/lib/nomad/pki/consul2022-client.key";
|
||||
|
|
Loading…
Reference in a new issue