Skip to content

rapolaskaseliscgi/es-docker-env

Repository files navigation

Elasticsearch cluster in docker

Install and run elasticsearch V7 on docker environment

Steps to run:

  1. build docker image:
  docker build . -t ubuntu-systemd:latest
  1. run docker compose:
  docker compose up --build

This should give a running green cluster of two nodes

Optional to copy some data:

  1. Setup ssh tunnel to demo environment to expose elasticsearch on port 10200
ssh -L 10200:ccd-elastic-search-demo.service.core-compute-demo.internal:9200 bastion-nonprod.platform.hmcts.net
  1. Copy some elasticsearch data from demo (bail_cases-000001 is index to copy):
  ./copy-index.sh bail_cases-000001

To restart from scratch

  1. Stop docker compose

  2. Run clean environment script:

  ./cleanup-env.sh
  1. Repeat steps on "Steps to run"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors