From 8d178815d6c6223127a4e0314b80c45a92de05ad Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 9 Dec 2021 10:51:58 +0100 Subject: [PATCH] Only one frontend --- app/frontend/deploy/frontend-traefik.hcl | 11 ----------- app/frontend/deploy/frontend-tricot.hcl | 13 +------------ 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/app/frontend/deploy/frontend-traefik.hcl b/app/frontend/deploy/frontend-traefik.hcl index a9548f5..8fc0fe1 100644 --- a/app/frontend/deploy/frontend-traefik.hcl +++ b/app/frontend/deploy/frontend-traefik.hcl @@ -3,18 +3,7 @@ job "frontend" { type = "service" priority = 80 - update { - max_parallel = 1 - stagger = "1m" - } - group "traefik" { - count = 3 - constraint { - operator = "distinct_hosts" - value = "true" - } - network { port "http_port" { static = 80 } port "https_port" { static = 443 } diff --git a/app/frontend/deploy/frontend-tricot.hcl b/app/frontend/deploy/frontend-tricot.hcl index bd9d6d3..cf66621 100644 --- a/app/frontend/deploy/frontend-tricot.hcl +++ b/app/frontend/deploy/frontend-tricot.hcl @@ -3,18 +3,7 @@ job "frontend" { type = "service" priority = 90 - update { - max_parallel = 1 - stagger = "1m" - } - group "tricot" { - count = 3 - constraint { - operator = "distinct_hosts" - value = "true" - } - network { port "http_port" { static = 80 } port "https_port" { static = 443 } @@ -47,7 +36,7 @@ job "frontend" { data = <