搭建milvus

version:'3.5'

services:

etcd:

container_name:milvus-etcd

image:quay.io/coreos/etcd:v3.5.5

environment:

  • ETCD_AUTO_COMPACTION_MODE=revision

  • ETCD_AUTO_COMPACTION_RETENTION=1000

  • ETCD_QUOTA_BACKEND_BYTES=4294967296

  • ETCD_SNAPSHOT_COUNT=5000

volumes:

  • /data/single_node/milvus/cpu/volume/etcd:/etcd

command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.02379 --data-dir /etcd

healthcheck:

test: ["CMD" , "etcdctl","endpoint","health"]

interval: 30s

timeout: 20s

retries:3

minio:

container_name:milvus-minio

image: minio/minio:RELEASE.2023-03-20T20-16-18Z

environment:

MINIO_ACCESS_KEY: minioadmin

MINIO_SECRET_KEY: minioadmin

ports:

  • "9001:9001"

  • "9000:9000"

volumes:

  • /data/single_node/milvus/cpu/volumes/minio:/minio_data

command: minio server /minio_data --console-address ":9001"

healthcheck:

test: ["CMD" ,"curl","-f", "http://localhost:9000/minio/health/live"]

interval: 30s

timeout: 20s

retries: 3

standalone:

container_name:milvus-standalone

image:milvusdb/milvus:v2.3.1

command:["milvus","run","standalone"]

enviroment:

ETCD_ENDPOINTS:etcd:2370

MINIO_ADDRESS:minio:9000

volumes:

  • /data/single_node/milvus/cpu/volumes/milvus:/var/lib/milvus

healthcheck:

test: ["CMD", "curl","-f","http://localhost:9091/healthz"]

interval: 30s

start_period: 90s

timeout: 20s

retries: 3

ports:

-"19530:19530"

  • "9091:9091"

depends_on:

  • "etcd"

  • "minio"

networks:

default:

name:milvus

相关推荐
Zilliz Planet1 天前
Milvus×EasyAi:如何用java从零搭建人脸识别应用
java·开发语言·milvus
猛男技术控2 天前
Milvus矢量数据库 麒麟v10安装
数据库·milvus
woshiabc1116 天前
安装milvus以及向量库增删改操作
milvus
阿里云大数据AI技术7 天前
通过阿里云 Milvus 与 PAI 搭建高效的检索增强对话系统
大数据·阿里云·云计算·milvus·向量检索
MonkeyKing_sunyuhua9 天前
milvus 支持向量化索引的方法
python·算法·milvus
Zilliz Planet9 天前
RAG开发中,如何用Milvus 2.5 BM25算法实现混合搜索
开发语言·python·算法·milvus
坐吃山猪17 天前
Milvus向量数据库04-Pipelines搭建RAG应用
数据库·milvus
❀͜͡傀儡师18 天前
使用docker-compose安装Milvus向量数据库及Attu可视化连接工具
数据库·docker·milvus
坐吃山猪18 天前
Milvus向量数据库01-基础概念
数据库·milvus