VictoriaMetrics/deployment/docker/victorialogs/opentelemetry-collector/compose-base.yml

16 lines
423 B
YAML
Raw Permalink Normal View History

include:
- ../compose-base.yml
services:
collector:
image: docker.io/otel/opentelemetry-collector-contrib:0.108.0
restart: on-failure
user: 0:0
volumes:
- ${PWD}/config.yaml:/etc/otelcol-contrib/config.yaml
- /var/lib/docker/containers:/var/lib/docker/containers
depends_on:
victorialogs:
condition: service_healthy
victoriametrics:
condition: service_healthy