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 - /var/run/docker.sock:/var/run/docker.sock - /var/lib/docker:/var/lib/docker depends_on: [victorialogs] ports: - "5140:5140" # Run `make package-victoria-logs` to build victoria-logs image victorialogs: image: docker.io/victoriametrics/victoria-logs:heads-logs-examples-0-g66b42a677-dirty-b95f1d4b volumes: - victorialogs-filebeat-syslog-vl:/vlogs ports: - "9428:9428" command: - -storageDataPath=/vlogs volumes: victorialogs-filebeat-syslog-vl: