16 lines
254 B
YAML
16 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
|