2024-09-25 16:33:26 +00:00
|
|
|
include:
|
2024-09-29 07:54:45 +00:00
|
|
|
- ../compose-base.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
|