From eeed373b6ca488571ddc35324c192d2cf1cd140d Mon Sep 17 00:00:00 2001 From: Nick Haynes Date: Fri, 18 Aug 2017 14:09:18 -0700 Subject: [PATCH] Added the official logentries docker agent to templates. --- templates/logentries/0/docker-compose.yml | 9 +++ templates/logentries/0/rancher-compose.yml | 16 ++++ templates/logentries/README.md | 3 + .../logentries/catalogIcon-logentries.svg | 77 +++++++++++++++++++ templates/logentries/config.yml | 7 ++ 5 files changed, 112 insertions(+) create mode 100644 templates/logentries/0/docker-compose.yml create mode 100644 templates/logentries/0/rancher-compose.yml create mode 100644 templates/logentries/README.md create mode 100644 templates/logentries/catalogIcon-logentries.svg create mode 100644 templates/logentries/config.yml diff --git a/templates/logentries/0/docker-compose.yml b/templates/logentries/0/docker-compose.yml new file mode 100644 index 0000000..0846c23 --- /dev/null +++ b/templates/logentries/0/docker-compose.yml @@ -0,0 +1,9 @@ +docker-logentries: + image: logentries/docker-logentries:0.2.1 + command: ${logentries_command} + restart: always + volumes: + - /var/run/docker.sock:/var/run/docker.sock + labels: + io.rancher.scheduler.global: "true" + io.rancher.container.hostname_override: container_name \ No newline at end of file diff --git a/templates/logentries/0/rancher-compose.yml b/templates/logentries/0/rancher-compose.yml new file mode 100644 index 0000000..3d9b392 --- /dev/null +++ b/templates/logentries/0/rancher-compose.yml @@ -0,0 +1,16 @@ +version: '2' +catalog: + name: logentries + version: 0.2.1 + description: "logentries: The Fastest Way to Analyze Your Log Data" + questions: + - variable: logentries_command + label: Command + type: "string" + required: true + default: "-t -j -a host=`uname -n`" + description: | + The command used to configure the logentries container. +services: + docker-logentries: + start_on_create: true \ No newline at end of file diff --git a/templates/logentries/README.md b/templates/logentries/README.md new file mode 100644 index 0000000..30bcc3c --- /dev/null +++ b/templates/logentries/README.md @@ -0,0 +1,3 @@ +# logentries + +This template deploys a [logentries](https://logentries.com/) stack running the official [docker-logentries](https://github.com/rapid7/docker-logentries) image. diff --git a/templates/logentries/catalogIcon-logentries.svg b/templates/logentries/catalogIcon-logentries.svg new file mode 100644 index 0000000..66a5327 --- /dev/null +++ b/templates/logentries/catalogIcon-logentries.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/logentries/config.yml b/templates/logentries/config.yml new file mode 100644 index 0000000..689950b --- /dev/null +++ b/templates/logentries/config.yml @@ -0,0 +1,7 @@ +name: Logentries +description: | + Forward all your Docker logs to logentries, like a breeze. +version: "0.2.1" +category: Logging +maintainer: "Nick Haynes " +license: The MIT License