Commit 1bf9ad76 authored by nanahira's avatar nanahira

new

parent 96c9c429
version: '2.4'
services:
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
command: --path.rootfs=/host --web.listen-address={{ansible_ssh_host}}:{{port}} --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($$|/)
network_mode: host
pid: host
restart: always
cap_add:
- SYS_TIME
volumes:
- '/:/host:ro,rslave'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment