Sign inSign up

polinux/cerebro

By polinux

•Updated about 8 years ago

Cerebero in a Docker (Alpine)

Image
1

5.4K

polinux/cerebro repository overview

⁠cerebro in a Docker (Alpine)

Build Status
GitHub Open Issues
Stars Fork
Docker Start Docker Pulls Docker Auto

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.

⁠Environmental Variables

VariableInfo
ES_ADDRESSIP or FQDN address of Elasticsearch
ES_PORTPort on which Elasticsearch is accessible
ES_NAMEName of the cluster that will pop on the list in the web UI

⁠Basic Usage

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)

⁠Usage - wite one pre-configured Elasticsearch server.

docker run -d \
  --name cerebro \
  -p 9000:9000 \
  -e ES_ADDRESS="elasticsearch.ip" \
  -e ES_PORT="9200" \
  -e ES_NAME="MY-ELASTIC" \
  polinux/cerebro

⁠Usage - custom config file

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 

⁠Build

docker build --tag=polinux/cerebro .

⁠Docker troubleshooting

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}'

⁠To Do

  1. Add LDAP Auth to bootstrap.sh

⁠Author

Tag summary

Content type

Image

Digest

Size

125.9 MB

Last updated

about 8 years ago

docker pull polinux/cerebro