This article was originally published on bmf-tech.com.
Overview
A brief summary of Elasticsearch and setting up the environment with Docker.
What is Elasticsearch
- A distributed RESTful search/analytics engine
- Capable of not only full-text search but also analytics
- Near real-time search platform
- Cluster
- A collection of one or more nodes (servers) that collectively hold your entire data
- Provides integrated indexing and search capabilities across all nodes
- Node
- A single server within a cluster that stores data
Setting Up the Environment with Docker
Set up an environment where Elasticsearch and Kibana can be used.
docker-compose.yml
elasticsearch:
image: elasticsearch:5
ports:
- 9200:9200
- 9300:9300
volumes:
- ./elasticsearch/data:/usr/share/elasticsearch/data/
kibana:
image: kibana:5
ports:
- 5601:5601
links:
- elasticsearch
environment:
- ELASTICSEARCH_URL=http://127.0.0.1:9200
Top comments (0)