From 013f39c7a83d534433561e4e05cc13a9cd1c06a5 Mon Sep 17 00:00:00 2001 From: leath-dub Date: Thu, 5 Oct 2023 19:16:06 +0100 Subject: [PATCH] added resource block because react ... --- jobs/nginx/anime-manga-soc.hcl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jobs/nginx/anime-manga-soc.hcl b/jobs/nginx/anime-manga-soc.hcl index 2c1ea61..b827003 100644 --- a/jobs/nginx/anime-manga-soc.hcl +++ b/jobs/nginx/anime-manga-soc.hcl @@ -30,7 +30,7 @@ job "nginx-ams" { "traefik.http.routers.nginx-ams.rule=Host(`amikon.me`,`www.amikon.me`)", "traefik.http.routers.nginx-ams.entrypoints=web,websecure", "traefik.http.routers.nginx-ams.tls.certresolver=lets-encrypt", - "traefik.http.routers.nginx-ams.loadbalancer.server.port=${NOMAD_PORT_http}" + "traefik.http.routers.nginx-ams.loadbalancer.server.port=3000" ] } @@ -41,6 +41,11 @@ job "nginx-ams" { image = "ghcr.io/dcuams/amikon-site-v2:latest" ports = ["http", "https"] } + + resources { + cpu = 100 + memory = 500 + } } } }