ElasticSearch - MacKittipat/note-developer GitHub Wiki

Run with Docker

docker run --name mac-elasticsearch -e "discovery.type=single-node" -e "xpack.security.enabled=false" -e "xpack.security.http.ssl.enabled=false" --net elastic -p 9200:9200 -it docker.elastic.co/elasticsearch/elasticsearch:8.8.0
docker run --name mac-kibana --net elastic -p 5601:5601 docker.elastic.co/kibana/kibana:8.8.0
  • xpack.security.enabled=false will allow client to access http://localhost:9200 without asking for username and password
  • xpack.security.http.ssl.enabled=false will disable TSL and allow us to use HTTP instead of HTTPS

Configure Kibana

ElasticSearch Doc