If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.
Meilisearch is a flexible and powerful user-focused search engine that can be added to any website or application.
This DDEV add on adds Meilisearch as a local service.
With DDEV installed:
For DDEV v1.23.5 or above run
ddev add-on get kevinquillen/ddev-meilisearch
For earlier versions of DDEV run
ddev get kevinquillen/ddev-meilisearch
The Meilisearch container is reached at hostname: “meilisearch”, port: 7700.
Outside the container, you can visit 127.0.0.1:7700/health in your browser to verify health status.
The default API key for Meilisearch is ddev. You can provide your own by
adding to .ddev/.env in your project, and adding the MEILI_MASTER_KEY variable:
MEILI_MASTER_KEY=my_master_key_value
By default this add-on uses the latest Meilisearch image tag. You can pin a
specific version by setting the MEILISEARCH_TAG environment variable:
ddev dotenv set .ddev/.env.meilisearch --meilisearch-tag v1.48
ddev restart
This writes MEILISEARCH_TAG="v1.48" to .ddev/.env.meilisearch, which DDEV
loads when starting the service. The value can be any tag published for the
getmeili/meilisearch
image. To go back to the latest release, remove the variable (or set it to
latest) and run ddev restart.
See the DDEV documentation on customizing add-on configuration for more details.
The admin dashboard is useful to navigate your collections and debug your search.
You can access the admin dashboard by navigating to this URL in your browser:
https://(DDEV_HOSTNAME):7701
To login provide the configured API key.
If you are using Drupal, you can use Search API and the Search API Meilisearch modules to connect to the running Meilisearch instance.
Originally Contributed by kevinquillen
If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.