Code Monkey home page Code Monkey logo

elasticsearch's Introduction

ElasticSearch Dockerfile

This repository contains Dockerfile of ElasticSearch for Docker's trusted build published to the public Docker Registry.

Dependencies

Installation

  1. Install Docker.

  2. Download trusted build from public Docker Registry: docker pull dockerfile/elasticsearch

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

Usage

docker run -d -p 9200:9200 -p 9300:9300 dockerfile/elasticsearch

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
```
  1. Start a container by mounting data directory and specifying the custom configuration file:
```sh
docker run -d -p 9200:9200 -p 9300:9300 -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.

elasticsearch's People

Contributors

pilwon avatar shreyaskarnik avatar andrewrothstein avatar 3h4x avatar

Watchers

Scott Hoffberg Wilson avatar  avatar Etienne Lachance avatar Patrick Ayoup avatar James Cloos avatar  avatar Andy Teijelo Pérez avatar Vanya avatar Tommy Lebel avatar Victor Carriço Santos avatar Joaquin Rodriguez avatar Brian Nolan avatar Francois Lacoursiere avatar  avatar Jessy Yameogo avatar Christopher Beresford Powell avatar  avatar Hugo MACHEFER avatar  avatar Delmar de Castro Mehret Filho avatar Maggie LaBelle avatar Ted Landis avatar Walter Sobral avatar Émilie Touchette avatar Zilia Lavastida López avatar Hayden Orizondo Marrero avatar Daehli Nadeau Otis avatar Greg Saunders avatar Germain Despres-Reiller avatar  avatar  avatar  avatar  avatar arashiqurrahman avatar Kostas Stathakos avatar  avatar Pau Diaz Gallifa avatar OPetit avatar Florian Grenouilleau avatar Jaiden Shepard avatar Grégory Petit avatar  avatar Nicole avatar  avatar Nicky Mirfallah avatar  avatar Tristan Hamel avatar Francois L avatar Priscilla Beaudet avatar Kevin Chan avatar Alberto Lacerda avatar Fernando Cabral avatar  avatar Manveer Patyal avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.