From 6036f5a1b7f648cbd84dd4f698811d8aa0e2dd50 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 6 Dec 2022 14:41:53 +0100 Subject: deploy tricot metrics on production --- cluster/staging/app/frontend/deploy/frontend-tricot.hcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cluster/staging/app') 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" -- cgit v1.2.3