bitflicker64 commented on code in PR #455:
URL: https://github.com/apache/hugegraph-doc/pull/455#discussion_r2901229016


##########
content/en/docs/guides/hugegraph-docker-cluster.md:
##########
@@ -0,0 +1,135 @@
+---
+title: "HugeGraph Docker Cluster Guide"
+linkTitle: "Docker Cluster"
+weight: 5
+---
+
+## Overview
+
+HugeGraph supports running a full distributed cluster (PD + Store + Server) 
via Docker using bridge networking. This works on Linux and Mac (Docker 
Desktop).
+
+Previous versions used `network_mode: host` which only worked on Linux. The 
cluster now uses a Docker bridge network (`hg-net`) where services communicate 
via container hostnames instead of `127.0.0.1`.
+
+## Prerequisites
+
+- Docker Engine 20.10+ or Docker Desktop 4.x+
+- Docker Compose v2
+- For the 3-node cluster: at least **12 GB** memory allocated to Docker 
Desktop (Settings → Resources → Memory)

Review Comment:
   During testing I hit OOM kills with 8GB in Docker Desktop which caused 
silent Raft failures so I bumped to 12GB and it worked, that's why I documented 
it. I haven't done any JVM heap tuning, containers are running with default 
settings. If the default heaps can be reduced for a test scenario that would 
help lower the requirement, happy to update the docs once we know a confirmed 
working lower limit.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to