From 37c6fd473546d0bd661bfe648e7ffc37adef7b7e 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 --- traefik/traefik.nomad | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/traefik/traefik.nomad b/traefik/traefik.nomad index 6038c27..b2eb757 100644 --- a/traefik/traefik.nomad +++ b/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" {