summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDouglas Lara <[email protected]>2023-01-02 15:20:57 -0300
committerGitHub <[email protected]>2023-01-02 10:20:57 -0800
commit50cd6c51d73b2f1b04e7f6807d20120290acf431 (patch)
tree1dc8b3a6ed0082eeead64c7b5d963d127de8d86f
parenta646585e60b7c455c82e0a96d3b2adc329296a68 (diff)
downloadcaprover-one-click-apps-50cd6c51d73b2f1b04e7f6807d20120290acf431.tar.gz
caprover-one-click-apps-50cd6c51d73b2f1b04e7f6807d20120290acf431.zip
Add specification file and logo (#826)
-rw-r--r--public/v4/apps/node-exporter.yml33
-rw-r--r--public/v4/logos/node-exporter.pngbin0 -> 8003 bytes
2 files changed, 33 insertions, 0 deletions
diff --git a/public/v4/apps/node-exporter.yml b/public/v4/apps/node-exporter.yml
new file mode 100644
index 0000000..3d96c0a
--- /dev/null
+++ b/public/v4/apps/node-exporter.yml
@@ -0,0 +1,33 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ image: prom/node-exporter:$$cap_version
+ restart: always
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock:ro
+ - /sys:/host/sys:ro
+ - /proc:/host/proc:ro
+ - /:/rootfs:ro
+ logging:
+ driver: 'json-file'
+ options:
+ max-size: '10m'
+ caproverExtra:
+ notExposeAsWebApp: true
+caproverOneClickApp:
+ variables:
+ - id: $$cap_version
+ label: Node Exporter Version
+ defaultValue: 'v1.5.0'
+ description: Check out their docker page for the valid tags https://hub.docker.com/r/prom/node-exporter/tags
+ validRegex: /^([^\s^\/])+$/
+ instructions:
+ start: >-
+ Prometheus exporter for machine metrics, written in Go with pluggable metric collectors.
+ end: >-
+ Aaaand you're done! 😄
+ Your service is available at srv-captain--$$cap_appname:9100.
+ displayName: 'Node Exporter'
+ isOfficial: false
+ description: Prometheus exporter for machine metrics, written in Go with pluggable metric collectors.
+ documentation: Taken from https://github.com/prometheus/node_exporter and https://prometheus.io/docs/guides/node-exporter/
diff --git a/public/v4/logos/node-exporter.png b/public/v4/logos/node-exporter.png
new file mode 100644
index 0000000..ffee84a
--- /dev/null
+++ b/public/v4/logos/node-exporter.png
Binary files differ