Last active
August 15, 2021 14:54
-
-
Save muokicaleb/45896dfda397054de7208a91730e2b5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
node_exporter: | |
image: quay.io/prometheus/node-exporter:latest | |
command: | |
- '--path.rootfs=/host' | |
network_mode: host | |
pid: host | |
restart: unless-stopped | |
volumes: | |
- '/:/host:ro,rslave' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment