summaryrefslogtreecommitdiff
path: root/nodeexporter
diff options
context:
space:
mode:
Diffstat (limited to 'nodeexporter')
-rw-r--r--nodeexporter/compose.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/nodeexporter/compose.yaml b/nodeexporter/compose.yaml
new file mode 100644
index 0000000..a7ea6d5
--- /dev/null
+++ b/nodeexporter/compose.yaml
@@ -0,0 +1,12 @@
+services:
+ node_exporter:
+ image: quay.io/prometheus/node-exporter:v1.8.2
+ ports:
+ - 10.0.0.1:9100:9100
+ container_name: node_exporter
+ command: --path.rootfs=/host
+ pid: host
+ restart: unless-stopped
+ volumes:
+ - /:/host:ro,rslave
+networks: {}