Docker image to run cerebro Elasticsearch 6.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
yannart/cerebro provides multiple tagged images:
latest(default): Latest version of Cerebro.0.8.1: Cerebro 0.8.10.7.3: Cerebro 0.7.30.7.2: Cerebro 0.7.20.6.6: Cerebro 0.6.50.6.5: Cerebro 0.6.50.6.4: Cerebro 0.6.4
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.
A docker-compose project is available in the GitHub project to run cerebro and a cluster 2 nodes with Elasticsearch 6.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 changeme.