HUB
Sign inSign up

lins05/elasticsearch-thrift

By lins05

•Updated about 11 years ago

Image
0

2.6K

lins05/elasticsearch-thrift repository overview

⁠ElasticSearch + Thrift plugin Dockerfile

This repository contains Dockerfile of ElasticSearch 1.4.1⁠ + Thrift plugin⁠ for Docker⁠'s build⁠ published to the public Docker Registry⁠.

⁠Dependencies
⁠Installation
  1. Install Docker⁠.

  2. Download build⁠ from public Docker Registry⁠: docker pull tehcmc/elasticsearch-thrift

    (alternatively, you can build an image from Dockerfile: docker build -t="tehcmc/elasticsearch-thrift" github.com/tehcmc/elasticsearch-thrift)

⁠Usage
docker run -d -p 9200:9200 -p 9300:9300 -p 9500:9500 tehcmc/elasticsearch-thrift
⁠Attach persistent/shared directories
  1. Create a mountable data directory <data-dir> on the host.

  2. Create ElasticSearch config file at <data-dir>/elasticsearch.yml.

```yml
path:
  logs: /data/log
  data: /data/data
```

3. Start a container by mounting data directory and specifying the custom configuration file:

```sh
docker run -d -p 9200:9200 -p 9300:9300 -p 9500:9500 -v <data-dir>:/data dockerfile/elasticsearch /elasticsearch/bin/elasticsearch -Des.config=/data/elasticsearch.yml
```

After few seconds, open http://<host>:9200 to see the result.

Tag summary
Recent tags
Content type
Image
Digest
sha256:5b2543696…
Size
148.7 MB
Last updated
about 11 years ago
docker pull lins05/elasticsearch-thrift:latest