From 34d1bcd38e2f79ec22a8991b9cbe2c15d3bcead6 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 18 Mar 2022 11:46:56 -0700 Subject: [PATCH] Move mc-monitor into prometheus stack --- homelab/server/config/prometheus/docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/homelab/server/config/prometheus/docker-compose.yml b/homelab/server/config/prometheus/docker-compose.yml index 4ce09d4b..b0a17af9 100644 --- a/homelab/server/config/prometheus/docker-compose.yml +++ b/homelab/server/config/prometheus/docker-compose.yml @@ -41,9 +41,21 @@ services: labels: - traefik.enable=false + mc-monitor: + image: itzg/mc-monitor # https://github.com/itzg/mc-monitor + container_name: mc-monitor + command: export-for-prometheus + restart: unless-stopped + networks: + - monitoring + - mc-router + environment: + EXPORT_SERVERS: e6-056,vanilla,bmcp,e6,e6-dev networks: monitoring: external: true web: external: true + mc-router: + external: true