2023-06-21 00:18:52 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
filebeat-vlogs:
|
|
|
|
image: docker.elastic.co/beats/filebeat:8.8.1
|
|
|
|
user: root
|
|
|
|
command:
|
|
|
|
- "--strict.perms=false"
|
|
|
|
volumes:
|
|
|
|
- ./filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
|
|
|
depends_on: [victorialogs]
|
|
|
|
ports:
|
|
|
|
- "5140:5140"
|
|
|
|
|
|
|
|
# Run `make package-victoria-logs` to build victoria-logs image
|
|
|
|
victorialogs:
|
2023-06-21 14:15:42 +02:00
|
|
|
image: docker.io/victoriametrics/victoria-logs:latest
|
2023-06-21 00:18:52 +02:00
|
|
|
volumes:
|
|
|
|
- victorialogs-filebeat-syslog-vl:/vlogs
|
|
|
|
ports:
|
|
|
|
- "9428:9428"
|
|
|
|
command:
|
|
|
|
- -storageDataPath=/vlogs
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
victorialogs-filebeat-syslog-vl:
|