Infrastructure 2018-10-22

Setting Up Elasticsearch and Kibana with Docker

Set up an Elasticsearch and Kibana environment using Docker Compose. Covers what ES clusters and nodes are, a working docker-compose.yml configuration, and initial connectivity setup.

Read in: ja
Setting Up Elasticsearch and Kibana with Docker

Overview

A brief summary of Elasticsearch and setting up the environment with Docker.

What is Elasticsearch

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

References

Tags: Elasticsearch Kibana
Share: 𝕏 Post Facebook Hatena
✏️ View source / Discuss on GitHub
☕ Support

If you enjoy this blog, consider supporting it. Every bit helps keep it running!


Related Articles