Change filebeat.yml permissions
The volume was causing issues with permissions when launching the stack.
Instead we can copy it and change permissions inside the Dockerfile.
After pulling these changes you may have to rebuild the docker images by killing the instances and restarting them with:
docker-compose down --volumes
docker-compose up --build
Edited by Keeyan Nejad