christianlempa-boilerplates/docker-compose/nodeexporter/compose.yaml
2024-07-12 22:57:23 +02:00

11 lines
232 B
YAML
Executable File

---
services:
node_exporter:
image: quay.io/prometheus/node-exporter:v1.8.1
container_name: node_exporter
command: "--path.rootfs=/host"
pid: host
restart: unless-stopped
volumes:
- /:/host:ro,rslave