
elasticsearch
Elasticsearch is a search engine based on the Lucene library
Official integration
Created - Last update
Elasticsearch is a distributed, RESTful search and analytics engine. This image can be used for single nodes and cluster setups. IMPORTANT: Be sure to extend the virtual memory on all your hosts! (increase "echo 'vm.max_map_count=262144' >> /etc/sysctl.conf" and restart "sysctl -p")
Deployed services
elasticsearch
docker.elastic.co/elasticsearch/elasticsearch:$$cap_elasticsearch_version
- elasticsearch-elasticsearch-data:/usr/share/elasticsearch/data
$$cap_container_port
always
6Variables
Elasticsearch Version Tag
Default: 8.4.1
$$cap_elasticsearch_versionCheck out the releases overview: https://hub.docker.com/_/elasticsearch
Cluster Name
Default: elasticsearch-cluster
$$cap_elasticsearch_cluster_nameOnly nodes within the same cluster name can be combined
Discovery Type
Default: single-node
$$cap_elasticsearch_discovery_typeDiscovery type, for a single node cluster use `single-node`, otherwise `multi-node`
Security Enabled
Default: false
$$cap_elasticsearch_security_enabledWhen you enable this option, Elasticsearch will create a random password (see startup logs) for the `elastic` user and create SSL certificates required for authentication. It is recommended to leave this off for a quick setup. Warning: make sure to enable HTTP Basic Auth in CapRover!
Container TCP Port
Default: 9200
$$cap_container_portInternal port for Elasticsearch the container listens to.