diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-08 13:32:47 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-08 13:32:47 +0100 |
commit | 3693d9f36bea5a6884737231aef3417a661df3dd (patch) | |
tree | 347e7c82d6f4720284d252ddd6bcb90121fa6157 | |
parent | a4982c6cd6b8cd2cffdda1c4cabd12a4c47bdb1a (diff) | |
download | infrastructure-3693d9f36bea5a6884737231aef3417a661df3dd.tar.gz infrastructure-3693d9f36bea5a6884737231aef3417a661df3dd.zip |
Traefik on all servers
-rw-r--r-- | app/frontend/deploy/frontend-traefik.hcl | 10 |
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 } |