Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-kibana

Docker image for running Kibana
behind a reverse-proxy.

Quickstart

This assumes you have Elasticsearch
running on localhost at port 9200.

docker run --name kibana -d ptimof/kibana

This will start Kibana listening on the default port of 5601.

If you'd like to be able to access the instance from the host without the
container's IP, standard port mappings can be used:

docker run --name kibana -p 5601:5601 -d ptimof/kibana

Then, access it via http://localhost:5601 or http://host-ip:5601 in a browser.

Configuration

There is one environment variable that can be configured:

  • ES_URL: the URL of the Elasticsearch engine (e.g., http://es.example.com:9200

This can be either set on the Docker command line directly, or stored in a file and
passed on the Docker command line:

docker run --name kibana -e "ES_URL=http://es.example:9200" -p 5601:5601 -d ptimof/kibana

Running in production

Of course, you're going to set this up behind a reverse proxy that also does TLS termination,
right?

docker create --name kibana -e "ES_URL=http://es.example:9200" -p 127.0.0.1:5601:5601 --restart=on-failure:10 ptimof/kibana
docker run kibana

Debugging

The logs from Kibana can get huge, so they are redirected to /dev/null in entrypoint.sh.
In order to debug connection problems, you'll want to modify entrypoint.sh to not
redirect stdout/stderr.

Docker Pull Command
Owner
ptimof
Source Repository

Comments (0)