mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-26 08:38:49 +01:00
add node exporter
This commit is contained in:
parent
66d0541071
commit
13044fb997
18
docker-compose.exporter.yml
Normal file
18
docker-compose.exporter.yml
Normal file
@ -0,0 +1,18 @@
|
||||
version: '3.2'
|
||||
services:
|
||||
node_exporter:
|
||||
container_name: node_exporter
|
||||
# Always check if there is a newer stable release:
|
||||
# https://hub.docker.com/r/prom/node-exporter/tags
|
||||
image: prom/node-exporter:v0.18.1
|
||||
command:
|
||||
- "--path.rootfs=/host"
|
||||
- "--web.listen-address=127.0.0.1:9100"
|
||||
network_mode: "host"
|
||||
pid: "host"
|
||||
volumes:
|
||||
- type: "bind"
|
||||
source: "/"
|
||||
target: "/host"
|
||||
read_only: true
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user