Add listening port flag to node exporter command
This commit is contained in:
parent
ce7d91d1bb
commit
231c4f94ec
@ -5,12 +5,11 @@ services:
|
|||||||
image: prom/node-exporter:latest
|
image: prom/node-exporter:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command:
|
command:
|
||||||
|
- '--web.listen-address=:9100'
|
||||||
- '--path.rootfs=/host'
|
- '--path.rootfs=/host'
|
||||||
- '--collector.systemd'
|
- '--collector.systemd'
|
||||||
- '--collector.processes'
|
- '--collector.processes'
|
||||||
network_mode: host
|
network_mode: host
|
||||||
pid: host
|
pid: host
|
||||||
ports:
|
|
||||||
- 9100
|
|
||||||
volumes:
|
volumes:
|
||||||
- '/:/host:ro,rslave'
|
- '/:/host:ro,rslave'
|
||||||
|
Loading…
Reference in New Issue
Block a user