mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
16 lines
418 B
YAML
16 lines
418 B
YAML
|
include:
|
||
|
- ../compose.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
|