telegraf/plugins/inputs/mongodb/dev/docker-compose.yml

17 lines
336 B
YAML
Raw Permalink Normal View History

version: '3'
services:
mongodb:
image: mongo
telegraf:
image: glinton/scratch
volumes:
- ./telegraf.conf:/telegraf.conf
- ../../../../telegraf:/telegraf
depends_on:
- mongodb
entrypoint:
- /telegraf
- --config
- /telegraf.conf