From 2150e0956bbffb995e15e29dc7f5415eb9a2e1dd Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 4 Dec 2021 21:55:48 +0100 Subject: Nomad and consul: single region now --- node/spoutnik.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node/spoutnik.nix') diff --git a/node/spoutnik.nix b/node/spoutnik.nix index 4aa6f91..1554de9 100644 --- a/node/spoutnik.nix +++ b/node/spoutnik.nix @@ -25,6 +25,10 @@ listenPort = 42136; }; + # Activate as Nomad and Consul server node + services.nomad.settings.server.enabled = true; + services.consul.extraConfig.server = true; + # Nginx configuration: services.nginx = { -- cgit v1.2.3