搭建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

相关推荐
会发paper的学渣4 天前
milvus和attu客户端的安装
milvus
Zilliz Planet4 天前
SentenceTransformers×Milvus:如何进行向量相似性搜索
milvus
强哥之神4 天前
向量搜索工具之 Milvus vs. Elastic
人工智能·机器学习·语言模型·llama·milvus·向量搜索·搜索数据库
花千树-01017 天前
Milvus - GPU 索引类型及其应用场景
运维·人工智能·aigc·embedding·ai编程·milvus
花千树-01021 天前
Milvus - 时间同步机制详解
aigc·embedding·ai编程·milvus
晨曦_子画21 天前
将 IBM WatsonX 数据与 Milvus 结合使用,构建用于知识检索的智能 Slack 机器人
机器人·milvus
花千树-01021 天前
Milvus - 标量字段索引技术解析
人工智能·aigc·embedding·ai编程·milvus·db
花千树-01021 天前
深入探讨 Tantivy 及其在 Milvus 中的应用:倒排索引库对比与选择
elasticsearch·全文检索·lucene·milvus·es
07122109821 天前
向量库Milvus异常挂了,重新启动
java·开发语言·milvus
花千树-01025 天前
Milvus - 四个主要时间戳参数
aigc·embedding·ai编程·milvus