From 049d9f0fe081ed63c53134563a85e6c5b9b4220a Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 18 Nov 2022 08:57:06 -0800 Subject: [PATCH] Make sure grafana points to port bound within it's task group --- core/metrics/grafana/grafana.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/metrics/grafana/grafana.ini b/core/metrics/grafana/grafana.ini index 8faad1a..5126333 100644 --- a/core/metrics/grafana/grafana.ini +++ b/core/metrics/grafana/grafana.ini @@ -441,5 +441,6 @@ path_style_access = true # does not require any configuration [rendering] -server_url = http://{{ env "NOMAD_ADDR_renderer" }}/render -callback_url = http://{{ env "NOMAD_ADDR_web" }}/ +# Since they are inside the same group, we can reference their bound ports +server_url = http://localhost:8081/render +callback_url = http://localhost:3000/