I'm trying to setup the elk stack with docker-compose, however Logstash cannot read the mounted certs directory, I'm guessing this is a permissions issue however I struggle to see why Elasticsearch, Kibana and Filebeat can all read the mounted certs while Logstash cannot.
The certs are created in roughly the same way as Running the Elastic Stack ("ELK") on Docker | Getting Started [8.1] | Elastic and mount correctly with everything else. When I attach a shell to Filebeat I am able to ls the directory for the certs but doing the same with Logstash results in permission denied. I am also able to run filebeat test output and the connection to Elasticsearch is successful.
Here is a GitHub link to the whole setup I have: GitHub - lluked/Elastic-Docker
Any suggestions would be appreciated.