Skip to content

ScentreGroup/docker-elasticsearch-curator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch Curator

An tiny Alpine-based container that allows one to use the Elasticsearch curator command. By default, runs in a loop sleeping for the INTERVAL_IN_HOURS, then running cleanup again. However, you can pass in a new CMD - prefix with - to simply append arguments to the curator command, or execute a completely different argument (e.g. /bin/bash).

Running

Default Values

ELASTICSEARCH_HOST=elasticsearch
ELASTICSEARCH_CURATOR_ARGS=
INTERVAL_IN_HOURS=24
OLDER_THAN_IN_DAYS=30

Examples

Specifying the host

docker run -d -e "ELASTICSEARCH_HOST=my.random.host" scentregroup/docker-elasticsearc-curator:5.4.0

Using TLS and Authentication

docker run -d -e "ELASTICSEARCH_HOST=my.random.host" -e "ELASTICSEARCH_CURATOR_ARGS=--use-ssl --http_auth username:password" scentregroup/docker-elasticsearc-curator:5.4.0

Building

Default Values

ELASTICSEARCH_CURATOR_VERSION=5.4.0

Example

docker build --build-arg ELASTICSEARCH_CURATOR_VERSION=5.4.0 -t scentregroup/docker-elasticsearc-curator:5.4.0 .

About

Elasticsearch Curator Docker Container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.7%
  • Dockerfile 49.3%