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

@@ -1,13 +0,0 @@
MY_SECRET_TOKEN=change_me
RADARR_URL=http://radarr.home
RADARR_API_URL=http://radarr.home
RADARR_KEY=change_me
SONARR_URL=http://sonarr.home
SONARR_API_URL=http://sonarr.home
SONARR_KEY=change_me
LIDARR_URL=http://lidarr.home
LIDARR_API_URL=http://lidarr.home
LIDARR_KEY=change_me
PORTAINER_URL=http://portainer.home
PORTAINER_ENDPOINT_ID=1
PORTAINER_API_KEY=change_me

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