- Configure docker resouces limits if needed (add
memory=4GB processors=2
to.wslconfig
forWSL 2
) - Set
sysctl.vm.max_map_count
to262144
or higher if needed (addkernelCommandLine = "sysctl.vm.max_map_count=262144"
to.wslconfig
onWSL 2
) - Set
ENCRYPTION_KEYS
,ELASTIC_SEARCH_PASSWORD
,KIBANA_PASSWORD
,ENTERPRISE_SEARCH_PASSWORD
environment variablesENCRYPTION_KEYS
should have 32 symbols length or more- Avoid to use special characters
- Run
docker compose --profiles setup up
setup
container runs once, other containers will start automatically at system startup- Use
docker compose up
or Docker Desktop to start containers again - If you want to run setup again, then don't forget to remove created volumes
Tip: you can override other docker compose file variables (like
KIBANA_PORT
) using environment variables
- Open Kibana (
http://localhost:5601/
) - Go to
Enterprise Search
->Search
->App Searh
- Click
Try a sample engine
underCreate your first engine
- Open Kibana (
http://localhost:5601/
) - Go to
Enterprise Search
->Search
->App Searh
- Go to
Credentials
- Copy
Private API Key
- Paste it to
ElasticAppSearch__PrivateApiKey
environment variable
Tip: you can override or setup other Elastic App Search API client options (like
Endpoint
url) using environment variables