Elastic Search
You Know, for Search
Elastic v6.5.1 default username & password
elastic:changeme
docker compose example
es01:image: docker.elastic.co/elasticsearch/elasticsearch:6.5.1container_name: es01environment:- cluster.name=es-docker-cluster- bootstrap.memory_lock=true- "ES_JAVA_OPTS=-Xms512m -Xmx512m"- ELASTIC_PASSWORD=changeme- http.cors.enabled=true- http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization- http.cors.allow-credentials=trueulimits:memlock:soft: -1hard: -1volumes:- es01data:/usr/share/elasticsearch/dataports:- "9200:9200"
On troubleshooting
vm.max_map_count [65530] is too low in Docker solusinya adalah eksekusi command ini
sudo sysctl -w vm.max_map_count=262144
Links
#fulltext-search #search-engine #tools