Various changes

This commit is contained in:
2024-01-23 12:11:49 +01:00
parent a5d3b38722
commit fda9701e35
7 changed files with 226 additions and 20 deletions

View File

@@ -27,6 +27,21 @@ services:
volumes:
- ./prometheus:/etc/prometheus
- prom_data:/prometheus
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
expose:
- 9100
grafana:
image: grafana/grafana
container_name: grafana