infrastructure/ansible/roles/forrest/files/docker-compose-telegraf.yml
Jake Howard aba81f79bc
Add telegraf
And input to ping and output via prometheus
2021-03-04 15:16:54 +00:00

15 lines
254 B
YAML

version: "2.3"
services:
telegraf:
image: telegraf:alpine
restart: unless-stopped
networks:
- default
- prometheus
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
networks:
prometheus:
external: true