Description
Docker image to run cerebro Elasticsearch 5.x web admin tool that replaces Kopf.
Cerebro project: https://github.com/lmenezes/cerebro
This Docker image is built and available in Docker hub yannart/cerebro:latest
Docker Tags
yannart/cerebro
provides multiple tagged images:
latest
(default): Latest version of Cerebro.0.6.6
: Cerebro 0.6.50.6.5
: Cerebro 0.6.50.6.4
: Cerebro 0.6.4
Usage
To run the image:
docker run -d -p 9000:9000 --name cerebro yannart/cerebro:latest
Then you can access the web console in this URL: http://[Docker_Host]:9000
You can mount volumes for the configuration folder and / the logs, for example:
docker run -d -p 9000:9000 --name cerebro -v /mount_folder/logs:/opt/cerebro/logs -v /mount_folder/conf:/opt/cerebro/conf yannart/cerebro:latest
Where /mount_folder
is a folder in the Docker host to contain the data. If mounted, the volume /opt/cerebro/conf
must contain a valid configuration.
Docker-compose example
A docker-compose project is available in the GitHub project to run cerebro and a cluster 2 nodes with Elasticsearch 5.x.
To run it:
docker-compose up -d
If you were running a previous version of the project and want to force a build, run first:
docker-compose build
Then you can access the web console in this URL: http://[Docker_Host]:9000 and connect to the Elasticsearch cluster using the URL http://elasticsearch:9200
or http://elasticsearch2:9200
in the hosts input field, the user elastic
and password chnageme
.