mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-24 19:30:06 +01:00
21 lines
536 B
YAML
21 lines
536 B
YAML
|
include:
|
||
|
- ../compose.yml
|
||
|
services:
|
||
|
telegraf:
|
||
|
image: bitnami/telegraf:1.31.3
|
||
|
restart: on-failure
|
||
|
volumes:
|
||
|
- type: bind
|
||
|
source: /var/run/docker.sock
|
||
|
target: /var/run/docker.sock
|
||
|
- type: bind
|
||
|
source: /var/lib/docker
|
||
|
target: /var/lib/docker
|
||
|
- ${PWD}/telegraf.conf:/etc/telegraf/telegraf.conf:ro
|
||
|
command: --config /etc/telegraf/telegraf.conf
|
||
|
depends_on:
|
||
|
victorialogs:
|
||
|
condition: service_healthy
|
||
|
victoriametrics:
|
||
|
condition: service_healthy
|