forked from Deuxfleurs/nixcfg
staging: tricot do load balancing of garage requests to local nodes
This commit is contained in:
parent
27b23e15ec
commit
e1ddb2d1d3
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue