2024-09-25 18:33:26 +02:00
|
|
|
include:
|
|
|
|
- ../compose.yml
|
2023-06-21 00:18:52 +02:00
|
|
|
services:
|
|
|
|
vector:
|
2024-09-25 18:33:26 +02:00
|
|
|
image: docker.io/timberio/vector:0.40.0-distroless-static
|
2023-06-21 00:18:52 +02:00
|
|
|
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
|
2024-09-25 18:33:26 +02:00
|
|
|
- ${PWD}/vector.yaml:/etc/vector/vector.yaml:ro
|
2023-06-21 00:18:52 +02:00
|
|
|
user: root
|
|
|
|
ports:
|
|
|
|
- '8686:8686'
|
|
|
|
depends_on:
|
|
|
|
victorialogs:
|
|
|
|
condition: service_healthy
|
|
|
|
victoriametrics:
|
|
|
|
condition: service_healthy
|