aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-06 12:41:12 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-06 12:41:12 +0100
commite1ddb2d1d37a404d1fb33e65ea935212e91cf40a (patch)
tree1e19be1bb5841b327a7d26bb0bd0372344d98c74 /cluster/staging/app
parent27b23e15ec6106969fc9bc18b311b23aeac8cc9b (diff)
downloadnixcfg-e1ddb2d1d37a404d1fb33e65ea935212e91cf40a.tar.gz
nixcfg-e1ddb2d1d37a404d1fb33e65ea935212e91cf40a.zip
staging: tricot do load balancing of garage requests to local nodes
Diffstat (limited to 'cluster/staging/app')
-rw-r--r--cluster/staging/app/garage/deploy/garage-nix2.hcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/cluster/staging/app/garage/deploy/garage-nix2.hcl b/cluster/staging/app/garage/deploy/garage-nix2.hcl
index 7ef4346..6f1d770 100644
--- a/cluster/staging/app/garage/deploy/garage-nix2.hcl
+++ b/cluster/staging/app/garage/deploy/garage-nix2.hcl
@@ -83,6 +83,7 @@ job "garage-staging" {
"garage-staging-api",
"tricot garage.staging.deuxfleurs.org",
"tricot-add-header Access-Control-Allow-Origin *",
+ "tricot-site-lb",
]
port = "s3"
check {
@@ -100,6 +101,7 @@ job "garage-staging" {
"garage-staging-k2v-api",
"tricot k2v.staging.deuxfleurs.org",
"tricot-add-header Access-Control-Allow-Origin *",
+ "tricot-site-lb",
]
port = "k2v"
check {
@@ -119,6 +121,7 @@ job "garage-staging" {
"tricot staging.deuxfleurs.org",
"tricot matrix.home.adnab.me/.well-known/matrix/server",
"tricot-add-header Access-Control-Allow-Origin *",
+ "tricot-site-lb",
]
port = "web"
check {