2023-06-20 22:18:52 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
fluentbit:
|
2024-04-23 08:07:45 +00:00
|
|
|
image: cr.fluentbit.io/fluent/fluent-bit:3.0.2
|
2023-06-20 22:18:52 +00:00
|
|
|
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:
|
2024-05-24 22:30:58 +00:00
|
|
|
image: docker.io/victoriametrics/victoria-logs:v0.11.0-victorialogs
|
2023-06-20 22:18:52 +00:00
|
|
|
volumes:
|
|
|
|
- victorialogs-fluentbit-vl:/vlogs
|
|
|
|
ports:
|
|
|
|
- "9428:9428"
|
|
|
|
command:
|
|
|
|
- -storageDataPath=/vlogs
|
|
|
|
|
|
|
|
volumes:
|
2023-07-18 06:19:46 +00:00
|
|
|
victorialogs-fluentbit-vl:
|