Skip to main content

local

πŸš€ Installing Meilisearch (Local Setup)​

There are multiple ways to install Meilisearch. In this documentation, we’ll focus on a local installation suited for development environments.

βœ… If you're looking for a production-ready hosted solution, consider:


For a quick local setup using Docker, we recommend Mark Shust’s excellent Magento environment:
πŸ‘‰ https://github.com/markshust/docker-magento

If you're using this Docker setup, simply add the following service definition to your composer.yaml:

meilisearch:
image: 'getmeili/meilisearch:latest'
ports:
- '${FORWARD_MEILISEARCH_PORT:-7700}:7700'
volumes:
- 'meilidata:/meili_data'
# - './meilisearch-key.pem:/root/meilisearch-key.pem'
# - './meilisearch.pem:/root/meilisearch.pem'
# environment:
# - MEILI_SSL_CERT_PATH=/root/meilisearch.pem
# - MEILI_SSL_KEY_PATH=/root/meilisearch-key.pem
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"]
retries: 3
timeout: 5s

You can access the Meilisearch dashboard at http://localhost:7700