Added site to monitoring setup

master
Jef Roosens 2022-04-04 17:18:27 +02:00
parent 75b7648be1
commit 80968c0818
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 5 additions and 2 deletions

View File

@ -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:

View File

@ -23,12 +23,15 @@ services:
- 'API_KEY'
networks:
- 'public'
- 'monitoring'
volumes:
- 'data:/data'
networks:
public:
external: true
monitoring:
external: true
volumes:
data: