From 1172e8e511c26e43bb23bcc265465b7284485e17 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Aug 2022 18:51:55 +0200 Subject: Fix nomad talking to consul --- nix/deuxfleurs.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nix') 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"; -- cgit v1.2.3