|
@@ -9,7 +9,7 @@ services:
|
|
|
command: >
|
|
|
--model Qwen/Qwen3-Embedding-0.6B
|
|
|
--dtype float16
|
|
|
- --api-port 8000
|
|
|
+ --port 8000
|
|
|
volumes:
|
|
|
- ./models:/root/.cache/huggingface
|
|
|
deploy:
|
|
@@ -47,16 +47,17 @@ services:
|
|
|
# - ./models:/root/.cache/huggingface
|
|
|
|
|
|
# Milvus 向量数据库
|
|
|
-# milvus:
|
|
|
-# image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/milvusdb/milvus:v2.4.5
|
|
|
-## image: milvusdb/milvus:v2.4.4-standalone
|
|
|
-# container_name: milvus
|
|
|
-# ports:
|
|
|
-# - "19530:19530"
|
|
|
-# - "9091:9091"
|
|
|
-# environment:
|
|
|
-# - ETCD_USE_EMBED=true
|
|
|
-# - MINIO_USE_EMBED=true
|
|
|
-# - PULSAR_USE_EMBED=true
|
|
|
-# volumes:
|
|
|
-# - ./milvus_data:/var/lib/milvus
|
|
|
+ milvus:
|
|
|
+ image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/milvusdb/milvus:v2.4.5
|
|
|
+# image: milvusdb/milvus:v2.4.4-standalone
|
|
|
+ container_name: milvus
|
|
|
+ ports:
|
|
|
+ - "19530:19530"
|
|
|
+ - "9091:9091"
|
|
|
+ environment:
|
|
|
+ - ETCD_USE_EMBED=true
|
|
|
+ - MINIO_USE_EMBED=true
|
|
|
+ - PULSAR_USE_EMBED=true
|
|
|
+ volumes:
|
|
|
+ - ./milvus_data:/var/lib/milvus
|
|
|
+ command: ["milvus", "run", "standalone"]
|