Giter Club home page Giter Club logo

es-cluster-docker's Introduction

es-cluster-docker

if you use docker v2, replace docker-compose -> docker compose

首次启动

$ docker-compose -f create-certs.yml run --rm create_certs

$ docker-compose -f ./elastic-docker-tls.yml up es01 es02 es03 -d

$ docker exec es01 /bin/bash -c "bin/elasticsearch-setup-passwords auto --batch --url https://es01:9200"

# replace kibana_system's password in kibana.yml

$ docker-compose -f ./elastic-docker-tls.yml up kib01 -d

# open 'https://localhost:5601/' in web browser

如果启动失败,可能需要配置系统参数vm.max_map_count:

立即生效,重启失效:

sysctl -w vm.max_map_count=262144

永久生效,需要重启:

vi /etc/sysctl.conf
vm.max_map_count=262144

后续运行

docker-compose -f ./elastic-docker-tls.yml up -d

if you need certs:

docker cp es01:/usr/share/elasticsearch/config/certificates/bundle.zip .

es-cluster-docker's People

Contributors

xucpeng avatar

Watchers

 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.