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' - 'node.labels.class == admin'
configs: configs:
- source: prometheus_v6 - source: prometheus_v7
target: /etc/prometheus/prometheus.yml target: /etc/prometheus/prometheus.yml
networks: networks:
- 'default' - 'default'
@ -82,7 +82,7 @@ services:
- '/:/rootfs:ro' - '/:/rootfs:ro'
configs: configs:
prometheus_v6: prometheus_v7:
external: true external: true
networks: networks:

View File

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