From e1ddb2d1d37a404d1fb33e65ea935212e91cf40a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 6 Dec 2022 12:41:12 +0100 Subject: staging: tricot do load balancing of garage requests to local nodes --- cluster/staging/app/garage/deploy/garage-nix2.hcl | 3 +++ 1 file changed, 3 insertions(+) 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 { -- cgit v1.2.3