aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/frontend/deploy/frontend-traefik.hcl10
1 files changed, 10 insertions, 0 deletions
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 }