staging: tricot do load balancing of garage requests to local nodes

This commit is contained in:
Alex 2022-12-06 12:41:12 +01:00
parent 27b23e15ec
commit e1ddb2d1d3
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -83,6 +83,7 @@ job "garage-staging" {
"garage-staging-api", "garage-staging-api",
"tricot garage.staging.deuxfleurs.org", "tricot garage.staging.deuxfleurs.org",
"tricot-add-header Access-Control-Allow-Origin *", "tricot-add-header Access-Control-Allow-Origin *",
"tricot-site-lb",
] ]
port = "s3" port = "s3"
check { check {
@ -100,6 +101,7 @@ job "garage-staging" {
"garage-staging-k2v-api", "garage-staging-k2v-api",
"tricot k2v.staging.deuxfleurs.org", "tricot k2v.staging.deuxfleurs.org",
"tricot-add-header Access-Control-Allow-Origin *", "tricot-add-header Access-Control-Allow-Origin *",
"tricot-site-lb",
] ]
port = "k2v" port = "k2v"
check { check {
@ -119,6 +121,7 @@ job "garage-staging" {
"tricot staging.deuxfleurs.org", "tricot staging.deuxfleurs.org",
"tricot matrix.home.adnab.me/.well-known/matrix/server", "tricot matrix.home.adnab.me/.well-known/matrix/server",
"tricot-add-header Access-Control-Allow-Origin *", "tricot-add-header Access-Control-Allow-Origin *",
"tricot-site-lb",
] ]
port = "web" port = "web"
check { check {