feat(templates): add a template for Sematext Docker Agent (#87)

This commit is contained in:
Stefan Thies
2018-03-14 22:54:29 +01:00
committed by Anthony Lapenna
parent 86a8e5ce15
commit d839d519f9
3 changed files with 71 additions and 0 deletions

View File

@@ -727,5 +727,59 @@
"description": "Password used by the MySQL root user."
}
]
},
{
"title": "Sematext Docker Agent",
"type": "stack",
"categories": ["Log Management", "Monitoring"],
"description": "Collect logs, metrics and docker events",
"logo": "https://sematext.com/wp-content/uploads/2016/08/octi.png",
"platform": "linux",
"repository": {
"url": "https://github.com/portainer/templates",
"stackfile": "stacks/sematext-agent-docker/docker-stack.yml"
},
"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"
}
]
},
{
"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"
}
]
}
]