Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

https://bitbucket.org/dchevell/docker-bitbucket-elasticsearch

Overview

Elasticsearch powers search in Atlassian's Bitbucket Server. This Docker container is based on the Atlassian guide to Install and configure a remote Elasticsearch instance and makes it easy to get Elasticsearch up and running for use with Bitbucket Server.

Quick start

For Elasticsearch's data directory that is used to store the search indexes, we recommend mounting a host directory as a data volume, or via a named volume if using a docker version >= 1.9.

To get started you can use a data volume, or named volumes. In this example we'll use named volumes.

$> docker volume create --name elasticVolume
$> docker run -v elasticVolume:/usr/share/elasticsearch/data --name "elasticsearch" -d -p 9200:9200 dchevell/bitbucket-elasticsearch

Success. Elasticsearch is now available on http://localhost:9200*

* Note: If you are using docker-machine on Mac OS X, please use open http://$(docker-machine ip default):8085 instead.

Authentication

This container comes pre-configured with Atlassian's free Elasticsearch security plugin, buckler. You can specify a basic authentication username and password via the following environment variables.

  • AUTH_BASIC_USERNAME (default: bitbucket)

    The username to authenticate to Elasticsearch

  • AUTH_BASIC_PASSWORD (default: bitbucket)

    The password to authenticate to Elasticsearch

Memory / Heap Size

If you need to override the default heap size for Elasticsearch, you can specify a custom value via the below environment variable:

  • ES_HEAP_SIZE (default: 1g)

    The total heap size of the JVM

Support

This Docker container is unsupported and is intended for illustration purposes only.

Docker Pull Command
Owner
dchevell

Comments (0)