milvus (Vector DB)

最後更新: 2024-07-10

目錄

  • Install By Docker

介紹

它是一個 Vector Database 來

HomePage: https://milvus.io/

 


Install By Docker

 

Install podman-compose

dnf install podman podman-compose    # RHEL 8

Download docker-compose.yml

# 因為它會在當前 folder 建立 volumes/ 來保留 Data

mkdir /home/milvus; /home/milvus

# 到 homepage 查看 version

https://github.com/milvus-io/milvus/releases

# DL

VER=v2.4.12

LINK=https://github.com/milvus-io/milvus/releases/download/$VER

wget $LINK/milvus-standalone-docker-compose.yml -O docker-compose.yml

Start Milvus

podman compose up -d

Checking

podman compose ps

Test Connection

  • Port 19530 is for gRPC           # Milvus SDKs
  • Port 9091 is for RESTful API   # HTTP client

curl localhost:9091/api/v1/health

{"status":"ok"}

 


Container 說明

 

Container

  • milvus-etcd
  • milvus-minio
  • milvus-standalone

milvus-etcd

maps its data to volumes/etcd in the current folder

milvus-minio

  • ports 9090, 9091
  • with the default authentication credentials
  • maps its data to volumes/minio in the current folder

milvus-standalone

  • ports 9091, 19530
  • maps its data to volumes/milvus in the current folder

 


 

 

 

 

Creative Commons license icon Creative Commons license icon