From a0c8280c02855fa2731d3f89df1dec0ae9627990 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Aug 2022 16:58:09 +0200 Subject: Fix access to consul for non-server nodes --- nix/deuxfleurs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix') diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 0b5169f..b6d3417 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -251,7 +251,7 @@ in serf = "${cfg.cluster_ip}"; }; consul = { - address = "localhost:8501"; + address = "consul.service.prod.consul: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