diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-06 12:41:12 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-06 12:41:12 +0100 |
commit | e1ddb2d1d37a404d1fb33e65ea935212e91cf40a (patch) | |
tree | 1e19be1bb5841b327a7d26bb0bd0372344d98c74 | |
parent | 27b23e15ec6106969fc9bc18b311b23aeac8cc9b (diff) | |
download | nixcfg-e1ddb2d1d37a404d1fb33e65ea935212e91cf40a.tar.gz nixcfg-e1ddb2d1d37a404d1fb33e65ea935212e91cf40a.zip |
staging: tricot do load balancing of garage requests to local nodes
-rw-r--r-- | cluster/staging/app/garage/deploy/garage-nix2.hcl | 3 |
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 { |