mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
e75ae1b274
### Describe Your Changes - Use common compose.yaml file for all victorialogs setups to set version in a single place and override it on demand for each agent and protocol - Replaced multiple victorialogs instances in HA setup with single setup with `deploy.replica` parameter set - Added fluentd setup ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/).
22 lines
551 B
YAML
22 lines
551 B
YAML
include:
|
|
- ../compose.yml
|
|
services:
|
|
vector:
|
|
image: docker.io/timberio/vector:0.40.0-distroless-static
|
|
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
|