From 1237caa700eaa5c07975a009378a625270e9e1a7 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Thu, 15 Mar 2018 08:11:20 +1000 Subject: [PATCH] feat(templates): enhance sematext agent templates --- templates.json | 53 +++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/templates.json b/templates.json index a1f545c..d803f1e 100644 --- a/templates.json +++ b/templates.json @@ -497,6 +497,33 @@ ], "volumes": ["/var/www/html/"] }, + { + "type": "container", + "title": "Sematext Docker Agent", + "description": "Collect logs, metrics and docker events", + "categories": ["Log Management", "Monitoring"], + "platform": "linux", + "logo": "https://sematext.com/wp-content/uploads/2016/08/octi.png", + "image": "sematext/sematext-agent-docker:latest", + "name": "sematext-agent", + "privileged": true, + "env": [ + { + "name": "LOGSENE_TOKEN", + "label": "Logs token" + }, + { + "name": "SPM_TOKEN", + "label": "SPM monitoring token" + } + ], + "volumes": [ + { + "container": "/var/run/docker.sock", + "bind": "/var/run/docker.sock" + } + ] + }, { "type": "container", "title": "Mautic", @@ -755,31 +782,5 @@ "bind": "/var/run/docker.sock" } ] - }, - { - "title": "Sematext Docker Agent", - "type": "container", - "description": "Collect logs, metrics and docker events", - "logo": "https://sematext.com/wp-content/uploads/2016/08/octi.png", - "image": "sematext/sematext-agent-docker:latest", - "name": "sematext-agent", - "platform": "linux", - "privileged": true, - "env": [ - { - "name": "LOGSENE_TOKEN", - "label": "Logs token" - }, - { - "name": "SPM_TOKEN", - "label": "SPM monitoring token" - } - ], - "volumes": [ - { - "container": "/var/run/docker.sock", - "bind": "/var/run/docker.sock" - } - ] } ]