prod: enable site load balancing in tricot

This commit is contained in:
Alex 2022-12-06 14:43:58 +01:00
parent 6036f5a1b7
commit 14bea296da
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -74,6 +74,7 @@ job "garage" {
"garage_api", "garage_api",
"tricot garage.deuxfleurs.fr", "tricot garage.deuxfleurs.fr",
"tricot *.garage.deuxfleurs.fr", "tricot *.garage.deuxfleurs.fr",
"tricot-site-lb",
] ]
port = 3900 port = 3900
address_mode = "driver" address_mode = "driver"
@ -100,6 +101,7 @@ job "garage" {
"tricot-add-header Strict-Transport-Security max-age=63072000; includeSubDomains; preload", "tricot-add-header Strict-Transport-Security max-age=63072000; includeSubDomains; preload",
"tricot-add-header X-Frame-Options SAMEORIGIN", "tricot-add-header X-Frame-Options SAMEORIGIN",
"tricot-add-header X-XSS-Protection 1; mode=block", "tricot-add-header X-XSS-Protection 1; mode=block",
"tricot-site-lb",
] ]
port = 3902 port = 3902
address_mode = "driver" address_mode = "driver"
@ -140,6 +142,7 @@ job "garage" {
tags = [ tags = [
"garage_k2v", "garage_k2v",
"tricot k2v.deuxfleurs.fr", "tricot k2v.deuxfleurs.fr",
"tricot-site-lb",
] ]
port = 3904 port = 3904
address_mode = "driver" address_mode = "driver"