VictoriaMetrics/deployment/docker/victorialogs/promtail/compose.yml
Andrii Chubatiuk 73afeaf510
deployment: restructure victorialogs examples (#6971)
### 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)
2024-09-25 18:39:43 +02:00

13 lines
340 B
YAML

include:
- ../compose.yml
services:
promtail:
image: grafana/promtail:3.0.1
volumes:
- /var/lib/docker/containers:/var/lib/docker/containers:ro
- /var/log:/var/log:ro
- ${PWD}/config.yml:/etc/promtail/docker-config.yml:ro
command: -config.file=/etc/promtail/docker-config.yml
ports:
- "5140:5140"