How to run Filebeat with Docker and use it with ELK stack

We have seen how to install the ELK stack using  Docker Compose.
Now we add Filebeat, showing how to run it with Docker and use it with the ELK stack.
The final goal of this series of posts is in fact to show a complete example of how to read the logs of a microservice with Filebeat, and then to collect and visualize them through the ELK stack (ElasticsearchLogstashKibana).