From c9c7d655f143b72de7b7cd31fc7689c35a494a42 Mon Sep 17 00:00:00 2001
From: Max Inden <mail@max-inden.de>
Date: Wed, 11 Mar 2020 18:32:47 +0100
Subject: [PATCH] =?UTF-8?q?.maintain/sentry-node/docker-compose:=20Expose?=
 =?UTF-8?q?=20Prometheus=20endpoin=E2=80=A6=20(#5196)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch adds the Prometheus endpoint port of validator A to the
exposed ports to access it from the host network namespace.
---
 substrate/.maintain/sentry-node/docker-compose.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/substrate/.maintain/sentry-node/docker-compose.yml b/substrate/.maintain/sentry-node/docker-compose.yml
index 0ca42613b45..db835b05796 100644
--- a/substrate/.maintain/sentry-node/docker-compose.yml
+++ b/substrate/.maintain/sentry-node/docker-compose.yml
@@ -26,6 +26,7 @@ services:
   validator-a:
     ports:
       - "9944:9944"
+      - "9615:9615"
     volumes:
       - ../../target/release/substrate:/usr/local/bin/substrate
     image: parity/substrate
@@ -58,6 +59,7 @@ services:
       - "--no-telemetry"
       - "--rpc-cors"
       - "all"
+      - "--prometheus-external"
 
   sentry-a:
     image: parity/substrate
-- 
GitLab