aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-06 14:43:58 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-06 14:43:58 +0100
commit14bea296da844aca26e0c622b9733d199aa64d0d (patch)
tree93b1c0f51fc652e36566f6a9238071093307e31a /cluster
parent6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50 (diff)
downloadnixcfg-14bea296da844aca26e0c622b9733d199aa64d0d.tar.gz
nixcfg-14bea296da844aca26e0c622b9733d199aa64d0d.zip
prod: enable site load balancing in tricot
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/garage/deploy/garage.hcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl
index 7ef2aa7..b503440 100644
--- a/cluster/prod/app/garage/deploy/garage.hcl
+++ b/cluster/prod/app/garage/deploy/garage.hcl
@@ -74,6 +74,7 @@ job "garage" {
"garage_api",
"tricot garage.deuxfleurs.fr",
"tricot *.garage.deuxfleurs.fr",
+ "tricot-site-lb",
]
port = 3900
address_mode = "driver"
@@ -100,6 +101,7 @@ job "garage" {
"tricot-add-header Strict-Transport-Security max-age=63072000; includeSubDomains; preload",
"tricot-add-header X-Frame-Options SAMEORIGIN",
"tricot-add-header X-XSS-Protection 1; mode=block",
+ "tricot-site-lb",
]
port = 3902
address_mode = "driver"
@@ -140,6 +142,7 @@ job "garage" {
tags = [
"garage_k2v",
"tricot k2v.deuxfleurs.fr",
+ "tricot-site-lb",
]
port = 3904
address_mode = "driver"