From a02f1a23170c95e8f915665abc9fe9c60c41c337 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 17 Jun 2022 15:20:43 -0700 Subject: [PATCH] Make traefik a system service For this to work, will need to put TLS certs in Vault --- nomad/traefik/traefik.nomad | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nomad/traefik/traefik.nomad b/nomad/traefik/traefik.nomad index 6038c27..b2eb757 100644 --- a/nomad/traefik/traefik.nomad +++ b/nomad/traefik/traefik.nomad @@ -14,7 +14,7 @@ job "traefik" { region = "global" datacenters = ["dc1"] - type = "service" + type = "system" constraint { attribute = "${node.class}" @@ -22,7 +22,6 @@ job "traefik" { } group "traefik" { - count = 1 network { port "web" {