From 1407f662c941520b90c26f035dea467808d69e1e Mon Sep 17 00:00:00 2001 From: wizzdom Date: Thu, 25 Jan 2024 22:28:57 +0000 Subject: [PATCH] dcusr: update domains and env vars --- jobs/dcusr.hcl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jobs/dcusr.hcl b/jobs/dcusr.hcl index 9e6dc20..d1f208e 100644 --- a/jobs/dcusr.hcl +++ b/jobs/dcusr.hcl @@ -25,7 +25,7 @@ job "dcusr" { tags = [ "traefik.enable=true", - "traefik.http.routers.dcusr.rule=Host(`dcusr.aperture.redbrick.dcu.ie`,`solarracing.rb.dcu.ie`)", + "traefik.http.routers.dcusr.rule=Host(`dcusr.aperture.redbrick.dcu.ie`,`solarracing.rb.dcu.ie`,`preview.solarracing.ie`)", "traefik.http.routers.dcusr.entrypoints=web,websecure", "traefik.http.routers.dcusr.tls.certresolver=lets-encrypt", ] @@ -37,6 +37,7 @@ job "dcusr" { config { image = "ghcr.io/dcu-solar-racing/nextjs-website:main" ports = ["http"] + force_pull = true auth { username = "${DOCKER_USER}" password = "${DOCKER_PASS}" @@ -49,6 +50,9 @@ job "dcusr" { data = <