From 5459aea4fdd60243f3d98c4047ac862b8dbf0de7 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Mon, 14 Aug 2023 14:34:59 +0100 Subject: [PATCH] Enable Consul UI and make it listen on 0.0.0.0. --- hosts/common/consul.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/common/consul.nix b/hosts/common/consul.nix index f107aee..3f18ffd 100644 --- a/hosts/common/consul.nix +++ b/hosts/common/consul.nix @@ -6,8 +6,10 @@ in { services.consul = { enable = true; + webUi = true; interface.advertise = "eno1"; extraConfig = { + client_addr = "0.0.0.0"; datacenter = "alo"; server = server_enabled; bootstrap_expect = (builtins.length servers + 2) / 2;