mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-19 07:01:02 +01:00
73afeaf510
### 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/).
(cherry picked from commit e75ae1b274
)
19 lines
504 B
YAML
19 lines
504 B
YAML
include:
|
|
- ../compose.yml
|
|
services:
|
|
filebeat-victorialogs:
|
|
image: docker.elastic.co/beats/filebeat:8.15.0
|
|
restart: on-failure
|
|
volumes:
|
|
- type: bind
|
|
source: /var/run/docker.sock
|
|
target: /var/run/docker.sock
|
|
- type: bind
|
|
source: /var/lib/docker/containers/
|
|
target: /var/lib/docker/containers/
|
|
- ${PWD}/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
|
user: root
|
|
command:
|
|
- "--strict.perms=false"
|
|
depends_on: [victorialogs]
|