/elasticsearch-docker-cookbook

Chef cookbook to install and configure Elasticsearch as a Docker container

Primary LanguageRubyMIT LicenseMIT

elasticsearch-docker-cookbook

Installs and configures elasticsearch as a Docker container

Supported Platforms

Platforms that support docker

Attributes

Key Type Description Default
['elasticsearch']['docker_image'] String The docker image of elasticsearch that you want to use dockerfile/elasticsearch
['elasticsearch']['docker_image_tag'] String The specific tag of the docker image to use latest
['elasticsearch']['docker_container'] String The name used for the new docker container elasticsearch
['elasticsearch']['config_path'] String The path to use as docker volume for configuration files nil
['elasticsearch']['data_path'] String The path to use as docker volume for elasticsearch indices/shard files /var/data/elasticsearch

Usage

elasticsearch-docker::default

Include elasticsearch-docker in your node's run_list:

{
  "run_list": [
    "recipe[elasticsearch-docker]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request