Hi! I'm Alessandro Descovi.
I develop web stuff with Rubynetti in Italy, Venice.
We use Docker, Ruby on Rails, and stuff like that for developing business and game solutions.

Very often we need to use Elasticsearch to develop search engines inside our app.

For this reason, we need to put it inside a docker-compose.yml file.

It's very important to remember to use variables setting for dev usage.

This is our average configuration for dev environment:

    image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
    container_name: elasticsearch
      - esdata1:/usr/share/elasticsearch/data
      - "discovery.type=single-node"
      - "ES_JAVA_OPTS=-Xms1G -Xmx1G"