Well, thanks for taking your time to reply this.
I really liked your docker-compose.yaml file. I'll use as reference when I upgrade my elasticsearch version to 7. I'm working with 6.3.2 since I need to upgrade others dependencies first in order to migrate everything at once.