From 25f2cb7c70a4444a708cc82ad5444b5cb1474088 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Thu, 6 Jun 2024 22:32:00 +0100 Subject: [PATCH] Integrate with traefik --- modules/dummy/jobspec.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/dummy/jobspec.json b/modules/dummy/jobspec.json index a9e3608..af275b0 100644 --- a/modules/dummy/jobspec.json +++ b/modules/dummy/jobspec.json @@ -48,7 +48,12 @@ "Services": [ { "PortLabel": "www", - "Provider": "nomad" + "Provider": "nomad", + "Name": "web", + "Tags": [ + "traefik.enable=true", + "traefik.http.routers.web.rule=Host(`hello-world.brmartin.co.uk`)" + ] } ] }