2023-06-21 00:18:52 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
fluentbit:
|
|
|
|
image: cr.fluentbit.io/fluent/fluent-bit:2.1.4
|
|
|
|
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"
|
|
|
|
|
|
|
|
# Run `make package-victoria-logs` to build victoria-logs image
|
|
|
|
victorialogs:
|
2023-07-18 08:19:46 +02:00
|
|
|
image: docker.io/victoriametrics/victoria-logs:v0.2.0-victorialogs
|
2023-06-21 00:18:52 +02:00
|
|
|
volumes:
|
|
|
|
- victorialogs-fluentbit-vl:/vlogs
|
|
|
|
ports:
|
|
|
|
- "9428:9428"
|
|
|
|
command:
|
|
|
|
- -storageDataPath=/vlogs
|
|
|
|
|
|
|
|
volumes:
|
2023-07-18 08:19:46 +02:00
|
|
|
victorialogs-fluentbit-vl:
|