2023-06-20 22:18:52 +00: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 12:15:42 +00:00
|
|
|
image: docker.io/victoriametrics/victoria-logs:latest
|
2023-06-20 22:18:52 +00:00
|
|
|
volumes:
|
|
|
|
- victorialogs-filebeat-syslog-vl:/vlogs
|
|
|
|
ports:
|
|
|
|
- "9428:9428"
|
|
|
|
command:
|
|
|
|
- -storageDataPath=/vlogs
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
victorialogs-filebeat-syslog-vl:
|