2024-09-25 18:33:26 +02:00
|
|
|
include:
|
|
|
|
- ../compose.yml
|
2023-06-21 00:18:52 +02:00
|
|
|
services:
|
2024-09-27 14:38:39 +02:00
|
|
|
filebeat:
|
|
|
|
image: docker.elastic.co/beats/filebeat:8.15.1
|
2023-06-21 00:18:52 +02: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 18:33:26 +02:00
|
|
|
- ${PWD}/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
2023-06-21 00:18:52 +02:00
|
|
|
user: root
|
|
|
|
command:
|
|
|
|
- "--strict.perms=false"
|
2024-09-25 18:33:26 +02:00
|
|
|
depends_on: [victorialogs]
|