From 20fe4a112e29ffc0141c95ea1b4bdfc45468b273 Mon Sep 17 00:00:00 2001 From: James Hackett Date: Thu, 4 Jan 2024 01:41:41 +0000 Subject: [PATCH] Change traefik to a service running on bastion host --- jobs/traefik.hcl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jobs/traefik.hcl b/jobs/traefik.hcl index 0ded606..03ed7b1 100644 --- a/jobs/traefik.hcl +++ b/jobs/traefik.hcl @@ -1,6 +1,11 @@ job "traefik" { datacenters = ["aperture"] - type = "system" + type = "service" + + constraint { + attribute = "${attr.unique.hostname}" + value = "bastion-vm" + } group "traefik" { network {