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:
- Meilisearch Cloud: Cloud Quick Start Guide
- Self-hosted Meilisearch: Self-hosted Installation Guide
π³ Docker Installation (Recommended)β
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