VictoriaMetrics/deployment/docker/victorialogs/vector/compose-base.yml
2024-11-28 13:50:02 +01:00

22 lines
554 B
YAML

include:
- ../compose-base.yml
services:
vector:
image: docker.io/timberio/vector:0.42.X-distroless-libc
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}/vector.yaml:/etc/vector/vector.yaml:ro
user: root
ports:
- '8686:8686'
depends_on:
victorialogs:
condition: service_healthy
victoriametrics:
condition: service_healthy