Felling like supporting me in my projects use donate button. Thank You!
This is a Cerebro in docker polinux/cerebro image, for easy deployment of cerebro.
| Variable | Info |
|---|---|
ES_ADDRESS | IP or FQDN address of Elasticsearch |
ES_PORT | Port on which Elasticsearch is accessible |
ES_NAME | Name of the cluster that will pop on the list in the web UI |
Deploying with below command will allow user to type elasticsearch details through Cerebro web UI instead of using variables when starting image.
docker run -d \
--name cerebro \
-p 9000:9000 \
polinux/cerebro
Go tyou your Docker host IP address in your bnrowser and use port 9000.
[http://localhost:9200](http://localhost:9200)
docker run -d \
--name cerebro \
-p 9000:9000 \
-e ES_ADDRESS="elasticsearch.ip" \
-e ES_PORT="9200" \
-e ES_NAME="MY-ELASTIC" \
polinux/cerebro
User can use custom config file which need to be placed in /opt/cerebro/conf/ directory
docker run -d \
--name cerebro \
-p 9000:9000 \
-v custom_cerebro.conf:/opt/cerebro/conf/application.conf \
polinux/cerebro
docker build --tag=polinux/cerebro .
Use docker command to see if all required containers are up and running:
$ docker ps
Check logs of cerebro server container:
$ docker logs cerebro
Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:
docker exec -ti cerebro /bin/bash
History of an image and size of layers:
docker history --no-trunc=true polinux/cerebro-ce | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'
bootstrap.shContent type
Image
Digest
Size
125.9 MB
Last updated
about 8 years ago
docker pull polinux/cerebro