From c6835239b6b75f149f65cf9fa558a4955cc12ec0 Mon Sep 17 00:00:00 2001 From: Marek Sirovy Date: Fri, 24 Nov 2023 15:09:31 +0100 Subject: [PATCH] UP: nginx-ingress --- Dockerfile | 2 +- deploy.nomad | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index abc96dc..9aad84a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## Build -FROM golang:1.21-buster AS build +FROM golang:1.21.4-bookworm AS build COPY . /usr/src/troll/ diff --git a/deploy.nomad b/deploy.nomad index a77ce03..37a5713 100644 --- a/deploy.nomad +++ b/deploy.nomad @@ -45,9 +45,8 @@ job "__JOB_NAME__" { tags = [ "metrics=true", "metrics.path=/_healthz/metrics", - "public", - "traefik.enable=true", - "traefik.http.routers.${NOMAD_JOB_NAME}-app.rule=Host(`${var.fqdn}`)" + "http=true", + "http.url=${var.fqdn}" ] port = "app"