[Docker] Create Elasticsearch, Kibana environment!

Introduction

Show the procedure for building Elasticsearch environment using docker-compose

--Elasticserch is software that provides a "full-text search system" --Kibana is a visualization tool that can render the data in your Elasticsearch database in a variety of formats.

Required files

Contents of docker-compose.yml

docker-compose.yml


version: "3"

services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.2.0
    environment:
      - discovery.type=single-node
      - cluster.name=docker-cluster
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    ports:
      - 9200:9200
    volumes:
      - es-data:/usr/share/elasticsearch/data
  kibana:
    image: docker.elastic.co/kibana/kibana:7.2.0
    ports:
      - 5601:5601

volumes:
  es-data:

starting method

After creating docekr-compose.yml, execute the following command

$ docker-compose up -d

It takes a little time for the first time

When the container starts up, access http: // localhost: 5601 /

Success if the following screen is displayed!

スクリーンショット 2020-10-04 12.48.08.png

Recommended Posts

[Docker] Create Elasticsearch, Kibana environment!
Create a Vue3 environment with Docker!
Create SolrCloud verification environment with Docker
Create Laravel environment with Docker (docker-compose)
Create a web environment quickly using Docker
Create Rails 6 + MySQL environment with Docker compose
Create a MySQL environment with Docker from 0-> 1
Create Spring Boot-gradle-mysql development environment with Docker
[Docker] Create Node.js + express + webpack environment with Docker
Docker environment construction
Install Docker and create Java runtime environment
[Memo] Create a CentOS 8 environment easily with Docker
Create a Privoxy + Tor environment instantly using Docker
INTERNAL ERROR: cannot create temporary directory !: Docker environment
Create a docker environment for Oracle 11g XE
Create a Spring Boot development environment with docker
Rails Docker environment construction
Create an E2E test environment with Docker x Cypress
[Note] Create a java environment from scratch with docker
Create Chisel development environment with Windows10 + WSL2 + VScode + Docker
Pytorch execution environment with Docker
WSL2 + VSCode + Docker development environment
MySQL 5.7 (Docker) environment construction memo
Redmine (Docker) environment construction memo
[Docker] Rails 5.2 environment construction with docker
I tried to create React.js × TypeScript × Material-UI on docker environment
Build docker environment with WSL
How to build Rails, Postgres, ElasticSearch development environment with Docker
Docker × Spring Boot environment construction
Elasticsearch> Build with docker, get Twitter information and visualize with Kibana
Create Rails5 and postgresql environment with Docker and make pgadmin available
[Docker] postgres, pgadmin4 environment construction
React environment construction with Docker
I tried to create a padrino development environment with Docker
Rails + MySQL environment construction with Docker
Node.js environment construction with Docker Compose
Build Couchbase local environment with Docker
Create a lightweight STNS Docker image
Let's create Ubuntu environment with vmware
Environment construction with Docker for beginners
Create RUNTEQ's environment with Windows DockerDesktop
Laravel + Docker Laradock usage environment construction
Build PlantUML environment with VSCode + Docker
Build environment with vue.js + rails + docker
Create a database in a production environment
Build Rails environment with Docker Compose
Install laravel/Dusk in docker environment (laravel6)
Rails on Docker environment construction procedure
Jupyter's Docker environment for running TensorFlow
[Environment construction with Docker] Rails 6 & MySQL 8
2. Create Docker image and register Registry
Pass environment variables to docker container
Build Unity development environment on docker
Build docker + laravel environment with laradock
Check MySQL logs in Docker environment
Let's install Docker on Windows 10 and create a verification environment for CentOS 8!
[Docker] How to create a virtual environment for Rails and Nuxt.js apps
Create a java web application development environment with docker for mac part2