move exporters away from prometheus
This commit is contained in:
13
docker-compose/nodeexporter/docker-compose.yml
Executable file
13
docker-compose/nodeexporter/docker-compose.yml
Executable file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
node_exporter:
|
||||
image: quay.io/prometheus/node-exporter:latest
|
||||
container_name: node_exporter
|
||||
command:
|
||||
- '--path.rootfs=/host'
|
||||
pid: host
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- '/:/host:ro,rslave'
|
||||
Reference in New Issue
Block a user