From the course: LLM Foundations: Vector Databases for Caching and Retrieval Augmented Generation (RAG)

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Set up Milvus and exercise files

Set up Milvus and exercise files

We are now going to set up Milvus standalone service using Docker. If you are using either macOS or Windows, please install Docker Desktop from the Docker website. Please download the exercise files for the course in a local directory similar to the one shown here. It has a Docker compose file, Jupyter Notebooks, and data files. The Docker compose file for this course is called milvus-standalone-docker-compose.yml. Let's explore this file now. It sets up four containers. The first container is the etcd container used for storing metadata. Then comes the MinIO container used for object storage. It is used to store the collections and indexes. Physical files are usually created under a folder called volume under the same root folder from where the Docker compose is run. Then comes the Milvus server with the name standalone. It connects to etcd and MinIO containers for data operations. It runs on Port 19530. Finally, we have Attu, which is a web-based user interface for viewing and…

Contents