added node exporher

This commit is contained in:
2026-02-25 00:22:44 +03:00
parent ea8fff629c
commit ea00ad6d25
3 changed files with 93 additions and 13 deletions

View File

@@ -38,6 +38,22 @@ services:
max-size: "10m"
max-file: "5"
node_exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node_exporter
command:
- '--path.rootfs=/host'
network_mode: host
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
grafana:
image: grafana/grafana:latest
container_name: grafana