How do I setup Elasticsearch for my store?

To set it up Elasticsearch we will create a Docker container by running the following command in our terminal:

docker run -d \
  -p 9200:9200 \
  -m 1GB \
  -e "discovery.type=single-node" \
  -e "xpack.security.enabled=false" \
  elasticsearch:8.17.4

You can check for the latest version to install instead of 8.17.4 here.

You can ensure Elasticsearch is running by visiting http://localhost:9200.


Revision #1
Created 2026-09-22 09:38:57 UTC by Ethan Payne
Updated 2026-09-22 09:39:33 UTC by Ethan Payne