feat: Add Prometheus node exporter

This commit is contained in:
Simon 2021-02-24 12:31:41 +01:00
parent 8399dd0da9
commit 2084fd271c
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
---
version: '3.8'
services:
node_exporter:
image: ${NODE_EXPORTER_IMAGE:-quay.io/prometheus/node-exporter:v1.1.1}
container_name: node_exporter
command:
- '--path.rootfs=/host'
network_mode: host
pid: host
restart: unless-stopped
expose:
- 9100
volumes:
- '/:/host:ro,rslave'