mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 08:26:19 +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
)
16 lines
394 B
YAML
16 lines
394 B
YAML
include:
|
|
- ../compose.yml
|
|
services:
|
|
logstash:
|
|
build:
|
|
context: .
|
|
user: root
|
|
restart: on-failure
|
|
volumes:
|
|
- /var/lib/docker/containers:/var/lib/docker/containers
|
|
- ${PWD}/pipeline.conf:/usr/share/logstash/pipeline/logstash.conf:ro
|
|
- ./logstash.yml:/usr/share/logstash/config/logstash.yml:ro
|
|
depends_on: [victorialogs]
|
|
ports:
|
|
- "5140:5140"
|