aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 16:58:09 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 16:58:50 +0200
commita0c8280c02855fa2731d3f89df1dec0ae9627990 (patch)
treec88265369066c5f1683bca4bef767561e9c96ef5 /nix
parentfe1f261738d9ef4cf4ee05b67820b201821bf31c (diff)
downloadnixcfg-a0c8280c02855fa2731d3f89df1dec0ae9627990.tar.gz
nixcfg-a0c8280c02855fa2731d3f89df1dec0ae9627990.zip
Fix access to consul for non-server nodes
Diffstat (limited to 'nix')
-rw-r--r--nix/deuxfleurs.nix2
1 files changed, 1 insertions, 1 deletions
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";