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