diff --git a/templates/logmatic/0/README.md b/templates/logmatic/0/README.md new file mode 100644 index 0000000..f6b0d25 --- /dev/null +++ b/templates/logmatic/0/README.md @@ -0,0 +1,3 @@ +# Logmatic Agent + +This template deploys a [Logmatic](https://www.logmatic.io/) agent stack consisting of the official [logmatic-docker](https://github.com/logmatic/logmatic-docker) image diff --git a/templates/logmatic/0/docker-compose.yml b/templates/logmatic/0/docker-compose.yml new file mode 100755 index 0000000..a950fc0 --- /dev/null +++ b/templates/logmatic/0/docker-compose.yml @@ -0,0 +1,11 @@ +logmatic-agent: + image: logmatic/logmatic-docker + entrypoint: /usr/src/app/index.js + command: ${logmatic_key} ${opts_args} + restart: always + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /proc/:/host/proc/:ro + - /sys/fs/cgroup/:/host/sys/fs/cgroup:ro + labels: + io.rancher.scheduler.global: "true" diff --git a/templates/logmatic/0/rancher-compose.yml b/templates/logmatic/0/rancher-compose.yml new file mode 100755 index 0000000..cb6dc79 --- /dev/null +++ b/templates/logmatic/0/rancher-compose.yml @@ -0,0 +1,16 @@ +.catalog: + name: "Logmatic" + version: "1.0" + description: "Logging" + minimum_rancher_version: v0.46.0 + questions: + - variable: "logmatic_key" + label: "Logmatic Key" + description: "Your Logmatic Key ( example: vXwS9RzCRT-UZh4FfYtKbA )" + required: true + type: "string" + - variable: "opts_args" + label: "Optional arguments" + description: "See https://github.com/logmatic/logmatic-docker" + required: false + type: "string" diff --git a/templates/logmatic/README.md b/templates/logmatic/README.md new file mode 100644 index 0000000..f6b0d25 --- /dev/null +++ b/templates/logmatic/README.md @@ -0,0 +1,3 @@ +# Logmatic Agent + +This template deploys a [Logmatic](https://www.logmatic.io/) agent stack consisting of the official [logmatic-docker](https://github.com/logmatic/logmatic-docker) image diff --git a/templates/logmatic/catalogIcon-logmatic.svg b/templates/logmatic/catalogIcon-logmatic.svg new file mode 100755 index 0000000..b461159 --- /dev/null +++ b/templates/logmatic/catalogIcon-logmatic.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/templates/logmatic/config.yml b/templates/logmatic/config.yml new file mode 100644 index 0000000..2eacf2d --- /dev/null +++ b/templates/logmatic/config.yml @@ -0,0 +1,8 @@ +name: Logmatic +description: | + Funnel all logs, metrics and machine events into a single hub. Get a clear overview of what is happening + across your distributed environments, and spot the needle in the haystack in no time. +version: "1.0" +category: Logging +maintainer: "Remi Cattiau " +license: The MIT License