aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 18:51:55 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 18:51:55 +0200
commit1172e8e511c26e43bb23bcc265465b7284485e17 (patch)
treeaa687543b08c1509b8aab20d28277a466df3720c
parent0d2d46f4371a424b3e7c476a472d1dcc098b36d7 (diff)
downloadnixcfg-1172e8e511c26e43bb23bcc265465b7284485e17.tar.gz
nixcfg-1172e8e511c26e43bb23bcc265465b7284485e17.zip
Fix nomad talking to consul
-rw-r--r--nix/deuxfleurs.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix
index b6d3417..a35d8b5 100644
--- a/nix/deuxfleurs.nix
+++ b/nix/deuxfleurs.nix
@@ -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";