This is a simple docker-compose.yml file based on https://elk-docker.readthedocs.io image.
Edit the configuration files, place your own config and run the container.
article on my blog: https://hazaveh.net/2019/02/a-more-production-friendly-elk-stack-with-docker/(opens in a new tab)