feat: add README

This commit is contained in:
Sun-ZhenXing
2025-09-24 14:16:10 +08:00
parent 232517b58f
commit 70f39867cf
65 changed files with 1695 additions and 103 deletions

View File

View File

@@ -1,13 +1,38 @@
# Milvus Standalone Embed
# Milvus Standalone with Embedded Etcd
[English](./README.md) | [中文](./README.zh.md)
Run Milvus in standalone mode with embedded etcd using Docker Compose.
## Start the service
```bash
docker compose up -d
```
Start Attu dashboard:
Start the Attu dashboard:
```bash
docker compose --profile attu up -d
```
## Services
- `milvus-standalone-embed`: The Milvus standalone service with embedded etcd.
- `attu`: The web-based management tool for Milvus.
## Configuration
- `MILVUS_VERSION`: The version of the Milvus image, default is `v2.6.2`.
- `ATTU_VERSION`: The version of the Attu image, default is `v2.6.0`.
- `MILVUS_PORT_OVERRIDE_HTTP`: The host port for the Milvus HTTP service, default is `19530`.
- `MILVUS_PORT_OVERRIDE_WEBUI`: The host port for the Milvus Web UI, default is `9091`.
- `MILVUS_PORT_OVERRIDE_ETCD`: The host port for the etcd service, default is `2379`.
- `ATTU_OVERRIDE_PORT`: The host port for the Attu service, default is `8000`.
- `MILVUS_URL`: The address of the Milvus service for Attu to connect to, default is `milvus-standalone-embed:19530`.
## Volumes
- `milvus_data`: A volume for storing Milvus and embedded etcd data.
- `embed_etcd.yaml`: The configuration file for the embedded etcd.
- `user.yaml`: The user configuration file for Milvus.

View File

@@ -0,0 +1,38 @@
# Milvus 单机版 (内嵌 etcd)
[English](./README.md) | [中文](./README.zh.md)
使用 Docker Compose 以单机模式运行 Milvus并内嵌 etcd。
## 启动服务
```bash
docker compose up -d
```
启动 Attu 仪表盘:
```bash
docker compose --profile attu up -d
```
## 服务
- `milvus-standalone-embed`: Milvus 单机版服务,内嵌 etcd。
- `attu`: Milvus 的网页版管理工具。
## 配置
- `MILVUS_VERSION`: Milvus 镜像的版本,默认为 `v2.6.2`
- `ATTU_VERSION`: Attu 镜像的版本,默认为 `v2.6.0`
- `MILVUS_PORT_OVERRIDE_HTTP`: Milvus HTTP 服务的主机端口,默认为 `19530`
- `MILVUS_PORT_OVERRIDE_WEBUI`: Milvus Web UI 的主机端口,默认为 `9091`
- `MILVUS_PORT_OVERRIDE_ETCD`: etcd 服务的主机端口,默认为 `2379`
- `ATTU_OVERRIDE_PORT`: Attu 服务的主机端口,默认为 `8000`
- `MILVUS_URL`: Milvus 服务的地址,供 Attu 连接,默认为 `milvus-standalone-embed:19530`
## 卷
- `milvus_data`: 用于存储 Milvus 和内嵌 etcd 数据的卷。
- `embed_etcd.yaml`: 内嵌 etcd 的配置文件。
- `user.yaml`: Milvus 的用户配置文件。