mirror of
https://gitverse.ru/kpa39l/monitoring.git
synced 2026-09-29 09:55:09 +00:00
add blackbox-exporter, loki/promtail configs; fix prometheus: host network for WG access
This commit is contained in:
+10
-4
@@ -14,10 +14,7 @@ services:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.retention.time=30d'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
ports:
|
||||
- "9090:9090"
|
||||
networks:
|
||||
- monitoring
|
||||
network_mode: host
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:11.1.0
|
||||
@@ -65,6 +62,15 @@ services:
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
blackbox-exporter:
|
||||
image: prom/blackbox-exporter:v0.25.0
|
||||
container_name: blackbox-exporter
|
||||
restart: unless-stopped
|
||||
command: --config.file=/etc/blackbox/blackbox.yml
|
||||
volumes:
|
||||
- ./blackbox.yml:/etc/blackbox/blackbox.yml:ro
|
||||
network_mode: host
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user