Compare commits
2 Commits
f8f2dc5a2d
...
bc708f87e9
Author | SHA1 | Date |
---|---|---|
decentral1se | bc708f87e9 | |
decentral1se | 339b090570 |
16
compose.yml
16
compose.yml
|
@ -13,16 +13,16 @@ services:
|
|||
- /:/rootfs:ro
|
||||
- /etc/hostname:/etc/nodename
|
||||
command:
|
||||
- '--path.sysfs=/host/sys'
|
||||
- '--path.procfs=/host/proc'
|
||||
- '--path.rootfs=/rootfs'
|
||||
- '--collector.textfile.directory=/etc/node-exporter/'
|
||||
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
|
||||
- '--no-collector.ipvs'
|
||||
- "--path.sysfs=/host/sys"
|
||||
- "--path.procfs=/host/proc"
|
||||
- "--path.rootfs=/rootfs"
|
||||
- "--collector.textfile.directory=/etc/node-exporter/"
|
||||
- "--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)"
|
||||
- "--no-collector.ipvs"
|
||||
configs:
|
||||
- source: node_exporter_entrypoint_sh
|
||||
target: /entrypoint.sh
|
||||
entrypoint: ['/bin/sh', '-e', '/entrypoint.sh']
|
||||
entrypoint: ["/bin/sh", "-e", "/entrypoint.sh"]
|
||||
networks:
|
||||
- exporters
|
||||
deploy:
|
||||
|
@ -74,7 +74,7 @@ services:
|
|||
mode: global
|
||||
endpoint_mode: dnsrr
|
||||
|
||||
prometheus:
|
||||
app:
|
||||
image: prom/prometheus:latest
|
||||
volumes:
|
||||
- prometheus-data:/prometheus:rw
|
||||
|
|
Loading…
Reference in New Issue