From 90a639acaca23d4cc1cf0e16d457e82f565b7d59 Mon Sep 17 00:00:00 2001 From: sstent Date: Mon, 20 Nov 2023 00:36:59 +0000 Subject: [PATCH] finish nomad, add consul, sops --- modules/consul.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/consul.nix b/modules/consul.nix index 4c98ffb..422fe56 100644 --- a/modules/consul.nix +++ b/modules/consul.nix @@ -31,13 +31,20 @@ in { # package = myPkg; enable = true; webUi = true; - consulAddr = "0.0.0.0:8500"; + # consulAddr = "0.0.0.0:8500"; interface.bind = "end0"; extraConfigFiles = [config.sops.secrets."consul_encrypt.json".path]; extraConfig = { bootstrap = false; server = true; bootstrap_expect = 3; + addresses = { + dns = "0.0.0.0"; + grpc = "0.0.0.0"; + http = "0.0.0.0"; + https = "0.0.0.0"; + }; + performance = { raft_multiplier = 5; };