2024-09-25 16:33:26 +00:00
|
|
|
include:
|
|
|
|
- ../compose.yml
|
2023-06-20 22:18:52 +00:00
|
|
|
services:
|
|
|
|
filebeat-victorialogs:
|
2024-09-25 16:33:26 +00:00
|
|
|
image: docker.elastic.co/beats/filebeat:8.15.0
|
2023-06-20 22:18:52 +00:00
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: /var/run/docker.sock
|
|
|
|
target: /var/run/docker.sock
|
|
|
|
- type: bind
|
|
|
|
source: /var/lib/docker/containers/
|
|
|
|
target: /var/lib/docker/containers/
|
2024-09-25 16:33:26 +00:00
|
|
|
- ${PWD}/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
2023-06-20 22:18:52 +00:00
|
|
|
user: root
|
|
|
|
command:
|
|
|
|
- "--strict.perms=false"
|
2024-09-25 16:33:26 +00:00
|
|
|
depends_on: [victorialogs]
|