Files
Server-scripts/docker_compose/quiethost/monitoring/docker-compose.yaml
T

16 lines
388 B
YAML
Raw Normal View History

services:
node-exporter:
container_name: node-exporter
image: prom/node-exporter:latest
restart: unless-stopped
pid: host
command:
- '--path.rootfs=/host'
- '--collector.textfile.directory=/textfile'
volumes:
- '/:/host:ro,rslave'
- ./node_exporter/textfile_collector:/textfile:ro
# ports:
# - '9100:9100'
network_mode: host