MeiliSearch is an open source lightweight alternative to ElasticSearch, giving developers blazingly fast and relevant search results in their application.
Installation & Basic Usage
Please see the Introduction & Concepts, then reference the examples below on adding this service to your project.
Add this section to your main
docker-compose.yml file, which will act as a "base". All environments will reference this file, so you can simply manage everything from one location.
meilisearch: image: getmeili/meilisearch environment: MEILI_NO_ANALYTICS: "true"
See the official MeiliSearch DockerHub page for specific version references.
meilisearch: networks: - web-dev volumes: - ./_volumes/meilisearch/data.ms:/data.ms:cached # Example dependencies for other services. Remove below if not needed depends_on: - "mariadb" - "php"
All persistent storage will be located in a
./_volumes/ folder on your project.
Add this to your
If you copy and paste from above, be sure to define your network at the bottom of the file.
See our open source project called Financial Freedom for more examples.