From 81ad6caf559ef2803c9a59c4007c4d6394118494 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Sun, 23 Feb 2025 16:34:56 +0000 Subject: [PATCH] chore(matrix): update synapse port configuration to 8008 and enable health check --- modules/matrix/jobspec.nomad.hcl | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/modules/matrix/jobspec.nomad.hcl b/modules/matrix/jobspec.nomad.hcl index 43b18e2..97f0007 100644 --- a/modules/matrix/jobspec.nomad.hcl +++ b/modules/matrix/jobspec.nomad.hcl @@ -8,7 +8,9 @@ job "matrix" { network { mode = "bridge" - port "synapse" {} + port "synapse" { + to = 8008 + } port "envoy_metrics" { to = 9102 } @@ -16,19 +18,19 @@ job "matrix" { service { provider = "consul" - port = "synapse" + port = "8008" meta { envoy_metrics_port = "${NOMAD_HOST_PORT_envoy_metrics}" } - # check { - # type = "http" - # path = "/health" - # interval = "20s" - # timeout = "5s" - # expose = true - # } + check { + type = "http" + path = "/health" + interval = "20s" + timeout = "5s" + expose = true + } connect { sidecar_service {