Public | Automated Build

Last pushed: 7 months ago
Short Description
Trusted automated ElasticSearch (http://www.elasticsearch.org/) Build
Full Description

zvelo-elasticsearch

This repository is based on dockerfile/elasticsearch.
It contains a Dockerfile of ElasticSearch for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.
  2. Download automated build from public Docker Hub Registry:

     docker pull zvelo/zvelo-elasticsearch
    

    Alternatively, you can build an image from Dockerfile:

     docker build -t="zvelo/zvelo-elasticsearch" github.com/zvelo/zvelo-elasticsearch
    
  3. Add fleet metadata to necessary machines:

     zvelo-elasticsearch=1
    
  4. Configure settings in etcd ensuring that the hardcoded IP addresses match
    the machines you set the fleet metadata on:

     etcdctl set /config/service/zvelo-elasticsearch/discovery/zen/ping/unicast/hosts 172.17.8.101:9301,172.17.8.102:9301,172.17.8.103:9301
     etcdctl set /config/service/zvelo-elasticsearch/template/default/index.number_of_shards 15
     etcdctl set /config/service/zvelo-elasticsearch/template/default/index.number_of_replicas 2
    
     for num in 1 2 3; do
         etcdctl set /services/zvelo-elasticsearch/core-0$num:zvelo-elasticsearch-$num:9200 172.17.8.10$num:9201
         etcdctl set /services/zvelo-elasticsearch/core-0$num:zvelo-elasticsearch-$num:9300 172.17.8.10$num:9301
     done
    

Usage

fleetctl submit zvelo-elasticsearch@.service
fleetctl start zvelo-elasticsearch@{1,2,3}
Docker Pull Command
Owner
zvelo
Source Repository

Comments (0)