add sysdig, sysdig-cloud

This commit is contained in:
James Oliver
2016-03-21 05:26:30 -07:00
parent 757f993e08
commit 45c4759671
8 changed files with 122 additions and 0 deletions
@@ -0,0 +1,20 @@
sysdig-agent:
container_name: sysdig-agent
privileged: true
image: sysdig/agent:${VERSION}
net: "host"
pid: "host"
environment:
ACCESS_KEY: ${SDC_ACCESS_KEY}
TAGS: "${SDC_TAGS}"
ADDITIONAL_CONF: "${SDC_ADDITIONAL_CONF}"
volumes:
- /var/run/docker.sock:/host/var/run/docker.sock
- /dev:/host/dev
- /proc:/host/proc:ro
- /boot:/host/boot:ro
- /lib/modules:/host/lib/modules:ro
- /usr:/host/usr:ro
labels:
io.rancher.scheduler.global: true
io.rancher.scheduler.affinity:host_label_ne: ${HOST_EXCLUDE_LABEL}