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

@@ -0,0 +1,16 @@
version: '3.2'
services:
sematext-agent-docker:
image: sematext/sematext-agent-docker
deploy:
mode: global
restart_policy:
condition: any
environment:
- LOGSENE_TOKEN=$LOGSENE_TOKEN
- SPM_TOKEN=$SPM_TOKEN
restart: always
volumes:
- type: bind
source: /var/run/docker.sock
target: var/run/docker.sock