aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-06 14:41:53 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-06 14:41:53 +0100
commit6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50 (patch)
treefde129edfd1d2e1e7a8358e4bee58186b7edab53 /cluster/staging/app
parente1ddb2d1d37a404d1fb33e65ea935212e91cf40a (diff)
downloadnixcfg-6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50.tar.gz
nixcfg-6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50.zip
deploy tricot metrics on production
Diffstat (limited to 'cluster/staging/app')
-rw-r--r--cluster/staging/app/frontend/deploy/frontend-tricot.hcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/cluster/staging/app/frontend/deploy/frontend-tricot.hcl b/cluster/staging/app/frontend/deploy/frontend-tricot.hcl
index ae46d4a..9a1eedd 100644
--- a/cluster/staging/app/frontend/deploy/frontend-tricot.hcl
+++ b/cluster/staging/app/frontend/deploy/frontend-tricot.hcl
@@ -12,7 +12,7 @@ job "frontend" {
network {
port "http_port" { static = 80 }
port "https_port" { static = 443 }
- port "metrics_port" { static = 8334 }
+ port "metrics_port" { static = 9334 }
}
task "server" {
@@ -20,7 +20,7 @@ job "frontend" {
config {
packages = [
- "git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=main&rev=ba5bf133f61c3a56728c2ab73e11abf47ef8348c"
+ "git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=main&rev=8d1162f20694d5d8551879e7ba9b34c817f0caed"
]
command = "tricot"
# cap_add = [ "net_bind_service" ] # this doesn't work for whatever reason, so we need to put user = "root" instead
@@ -65,7 +65,7 @@ TRICOT_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt
TRICOT_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
TRICOT_HTTP_BIND_ADDR=[::]:80
TRICOT_HTTPS_BIND_ADDR=[::]:443
-TRICOT_METRICS_BIND_ADDR=[::]:8334
+TRICOT_METRICS_BIND_ADDR=[::]:9334
RUST_LOG=tricot=debug
EOH
destination = "secrets/env"