Local (docker compose)
This setup is not suitable for production use as the data is not persistent and environment variables are not kept secret.
Elasticsearch and Milvus are required to run the Denser Retriever. They support the keyword search and vector search respectively. We follow the following instructions to install Elasticsearch and Milvus on a local host (for example, your laptop).
Prerequisites
Requirements: docker
and docker compose
, both are included in Docker Desktop for Mac or Windows users.
Download the YAML file
Download docker-compose.dev.yml
and save it as docker-compose.yml
manually, or with the following command.
Start the services
Start the services with the following command.
The Elasticsearch and Milvus services will be started in the background. You can check the status of the services with the following command.
docker compose ps
Test
Optionally, we can run the following command to verify that the Milvus is correctly installed.