community-catalog/templates/datadog/1/docker-compose.yml
Jan Broer 2605e1f109 Updates DataDog Agent to release 11.0.570
- This now uses the original image with a config sidekick as suggested
by @cloudnautique
- Moved Readme to the right location so that it is shown in the UI
2016-03-09 03:55:11 +01:00

33 lines
854 B
YAML
Executable File

datadog-init:
image: janeczku/datadog-rancher-init:latest
net: none
command: /bin/true
volumes:
- /opt/rancher
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: always
datadog-agent:
image: datadog/docker-dd-agent:11.0.570
entrypoint: /opt/rancher/entrypoint.sh
command:
- supervisord
- -n
- -c
- /etc/dd-agent/supervisor.conf
restart: always
environment:
API_KEY: ${api_key}
DOGSTATSD_ONLY: "${statsd_standalone}"
STATSD_METRIC_NAMESPACE: ${statsd_namespace}
HOST_LABELS: ${host_labels}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
volumes_from:
- datadog-init
labels:
io.rancher.scheduler.global: "${global_service}"
io.rancher.sidekicks: 'datadog-init'