summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeffrey Paul <[email protected]>2020-06-30 15:02:51 -0700
committerGitHub <[email protected]>2020-06-30 18:02:51 -0400
commitdac3eeabf9a95ac398df969fe0668656b97bfdb9 (patch)
tree197cf5338de3fa30dfcf04c18ba73875534b8a7b
parenta0a495c3f45dcf273144826dadcc8cef5031374b (diff)
downloadcaprover-one-click-apps-dac3eeabf9a95ac398df969fe0668656b97bfdb9.tar.gz
caprover-one-click-apps-dac3eeabf9a95ac398df969fe0668656b97bfdb9.zip
Add Prometheus (prometheus.io) to One Click Apps (#203)
* adds logo and oca json for Prometheus monitoring * run prettier
-rw-r--r--public/v2/apps/prometheus.json36
-rw-r--r--public/v2/logos/prometheus.pngbin0 -> 9455 bytes
2 files changed, 36 insertions, 0 deletions
diff --git a/public/v2/apps/prometheus.json b/public/v2/apps/prometheus.json
new file mode 100644
index 0000000..fec1119
--- /dev/null
+++ b/public/v2/apps/prometheus.json
@@ -0,0 +1,36 @@
+{
+ "captainVersion": "2",
+ "documentation": "https://hub.docker.com/r/prom/prometheus/",
+ "displayName": "Prometheus",
+ "description": "Prometheus is a systems and service monitoring system.",
+ "dockerCompose": {
+ "services": {
+ "$$cap_appname": {
+ "containerHttpPort": "9090",
+ "image": "prom/prometheus@$$cap_version",
+ "restart": "always",
+ "volumes": [
+ "$$cap_appname-config:/etc/prometheus",
+ "$$cap_appname-data:/prometheus"
+ ]
+ }
+ },
+ "version": "2",
+ "volumes": {
+ "$$cap_appname-config": {},
+ "$$cap_appname-data": {}
+ }
+ },
+ "instructions": {
+ "end": "Prometheus is now starting.",
+ "start": "Read more about Prometheus: https://prometheus.io/"
+ },
+ "variables": [
+ {
+ "label": "Prometheus Docker Hash",
+ "defaultValue": "sha256:43b19072ef98fd0ea5a29ac794fbadf365cca6d5247830034c7b86ae9650126c",
+ "description": "Starts with 'sha256:'. Find on Docker Hub. Default is latest as of 2020-06-30.",
+ "id": "$$cap_version"
+ }
+ ]
+}
diff --git a/public/v2/logos/prometheus.png b/public/v2/logos/prometheus.png
new file mode 100644
index 0000000..fe6c25b
--- /dev/null
+++ b/public/v2/logos/prometheus.png
Binary files differ