File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ HugeGraph 支持通过 Docker 桥接网络运行完整的分布式集群(PD +
1414
1515- Docker Engine 20.10+ 或 Docker Desktop 4.x+
1616- Docker Compose v2
17- - 3 节点集群需为 Docker Desktop 分配至少 ** 12 GB** 内存(设置 → 资源 → 内存)
17+ - Mac( Docker Desktop)运行 3 节点集群时,需分配至少 ** 12 GB** 内存(设置 → 资源 → 内存)。Linux 上 Docker 直接使用宿主机内存,无需额外分配
1818
1919> ** 已测试平台** :Linux(原生 Docker)和 macOS(Docker Desktop,已在 Apple M4 上测试)。Windows Docker Desktop 未经测试。
2020
Original file line number Diff line number Diff line change @@ -255,6 +255,8 @@ HG_STORE_RAFT_ADDRESS: store2:8510
255255
256256Store 节点仅在所有 PD 节点通过健康检查(`/v1/health`)后启动,通过 `depends_on : condition: service_healthy` 强制执行。
257257
258+ 运行时日志可通过 `docker logs <container-name>`(如 `docker logs hg-store0`)直接查看,无需进入容器。
259+
258260完整的部署指南请参阅 [docker/README.md](https://github.com/apache/hugegraph/blob/master/docker/README.md)。
259261
260262# ## 7 验证 Store 服务
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ docker run -d \
9393
9494> ** 已弃用的别名** :` GRPC_HOST ` 、` RAFT_ADDRESS ` 、` RAFT_PEERS ` 、` PD_INITIAL_STORE_LIST ` 仍可使用,但会输出弃用警告。新部署请使用 ` HG_PD_* ` 名称。
9595
96+ 运行时日志可通过 ` docker logs <container-name> ` (如 ` docker logs hg-pd0 ` )直接查看,无需进入容器。
97+
9698完整的集群部署指南请参阅 [ docker/README.md] ( https://github.com/apache/hugegraph/blob/master/docker/README.md ) 。
9799
98100### 4 配置
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ Core 模块是 Tinkerpop 接口的实现,Backend 模块用于管理数据存
6464- ** 单节点开发构建** (从源码构建):` docker/docker-compose.dev.yml `
6565
6666``` bash
67- cd docker
67+ cd hugegraph/ docker
6868HUGEGRAPH_VERSION=1.7.0 docker compose up -d
6969```
7070
@@ -332,6 +332,8 @@ curl http://localhost:8080/versions
332332curl http://localhost:8620/v1/stores
333333` ` `
334334
335+ 运行时日志可通过 ` docker logs < container-name> ` (如 ` docker logs hg-pd0` )直接查看,无需进入容器。
336+
335337完整的环境变量参考、端口表和故障排查指南请参阅 [docker/README.md](https://github.com/apache/hugegraph/blob/master/docker/README.md)。
336338< /details>
337339
You can’t perform that action at this time.
0 commit comments