From 3693d9f36bea5a6884737231aef3417a661df3dd Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 8 Dec 2021 13:32:47 +0100 Subject: [PATCH] Traefik on all servers --- app/frontend/deploy/frontend-traefik.hcl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/frontend/deploy/frontend-traefik.hcl b/app/frontend/deploy/frontend-traefik.hcl index be22df6..a9548f5 100644 --- a/app/frontend/deploy/frontend-traefik.hcl +++ b/app/frontend/deploy/frontend-traefik.hcl @@ -3,7 +3,17 @@ 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 }