Installs and configures elasticsearch as a Docker container
Platforms that support docker
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 |
Include elasticsearch-docker
in your node's run_list
:
{
"run_list": [
"recipe[elasticsearch-docker]"
]
}
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request