VictoriaMetrics/deployment/docker/victorialogs/fluentbit-docker/docker-compose.yml
2024-07-01 02:33:02 +02:00

23 lines
544 B
YAML

version: "3"
services:
fluentbit:
image: cr.fluentbit.io/fluent/fluent-bit:3.0.2
volumes:
- /var/lib/docker/containers:/var/lib/docker/containers:ro
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
depends_on: [victorialogs]
ports:
- "5140:5140"
victorialogs:
image: docker.io/victoriametrics/victoria-logs:v0.26.1-victorialogs
volumes:
- victorialogs-fluentbit-vl:/vlogs
ports:
- "9428:9428"
command:
- -storageDataPath=/vlogs
volumes:
victorialogs-fluentbit-vl: