Created
August 15, 2021 15:01
-
-
Save muokicaleb/6b2b2984def320f6d909c60ff680a49f 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' | |
- '--web.config=/node_exporter_conf.yaml' | |
network_mode: host | |
pid: host | |
restart: unless-stopped | |
volumes: | |
- '/:/host:ro,rslave' | |
- ./node_exporter_conf.yaml:/node_exporter_conf.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment