From 80968c0818a552f982b28b3f9d88a573fa36675c Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Mon, 4 Apr 2022 17:18:27 +0200 Subject: [PATCH] Added site to monitoring setup --- stacks/monitor.yml | 4 ++-- stacks/site.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stacks/monitor.yml b/stacks/monitor.yml index a3e755f..53d1e71 100644 --- a/stacks/monitor.yml +++ b/stacks/monitor.yml @@ -14,7 +14,7 @@ services: - 'node.labels.class == admin' configs: - - source: prometheus_v6 + - source: prometheus_v7 target: /etc/prometheus/prometheus.yml networks: - 'default' @@ -82,7 +82,7 @@ services: - '/:/rootfs:ro' configs: - prometheus_v6: + prometheus_v7: external: true networks: diff --git a/stacks/site.yml b/stacks/site.yml index 15756e6..8e59dfc 100644 --- a/stacks/site.yml +++ b/stacks/site.yml @@ -23,12 +23,15 @@ services: - 'API_KEY' networks: - 'public' + - 'monitoring' volumes: - 'data:/data' networks: public: external: true + monitoring: + external: true volumes: data: