Add listening port flag to node exporter command

This commit is contained in:
Prathamesh Musale 2023-12-27 14:12:25 +05:30
parent ce7d91d1bb
commit 231c4f94ec

View File

@ -5,12 +5,11 @@ services:
image: prom/node-exporter:latest
restart: unless-stopped
command:
- '--web.listen-address=:9100'
- '--path.rootfs=/host'
- '--collector.systemd'
- '--collector.processes'
network_mode: host
pid: host
ports:
- 9100
volumes:
- '/:/host:ro,rslave'