Hello, World!
This commit is contained in:
11
05-node_exporter/docker-compose.yaml
Normal file
11
05-node_exporter/docker-compose.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
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'
|
||||
Reference in New Issue
Block a user