Skip to content

Doc: update Docker deployment docs for bridge networking migration (#2952)#2963

Open
bitflicker64 wants to merge 3 commits intoapache:masterfrom
bitflicker64:docs/docker-bridge-network
Open

Doc: update Docker deployment docs for bridge networking migration (#2952)#2963
bitflicker64 wants to merge 3 commits intoapache:masterfrom
bitflicker64:docs/docker-bridge-network

Conversation

@bitflicker64
Copy link
Contributor

Purpose of the PR

Update all Docker deployment documentation to reflect the bridge networking migration from PR #2952. The old docs referenced a dead directory, used wrong environment variable names, and had no guidance for Docker Desktop users on Mac/Windows.

Main Changes

  • Create docker/README.md (new file) — comprehensive setup guide covering single-node and 3-node cluster, full HG_* env var reference tables for PD/Store/Server, port reference, health verification commands, troubleshooting (OOM, Raft, partitions), and a note about the temporary entrypoint mount workaround until updated images are published
  • Fix hugegraph-store/docs/deployment-guide.md — replace Docker Compose section that used completely wrong env var names (GRPC_HOST, RAFT_ADDRESS, RAFT_PEERS, PD_ADDRESS, BACKEND, PD_PEERS) with correct HG_* names; also fix K8s manifest env var names
  • Fix 7 files pointing to dead hugegraph-server/hugegraph-dist/docker/example/ directory — update to point to docker/ with correct file names (docker-compose.yml, docker-compose-dev.yml, docker-compose-3pd-3store-3server.yml)
  • Add Docker bridge network notes to hugegraph-pd/docs/configuration.md, hugegraph-pd/README.md, hugegraph-pd/AGENTS.md — clarify that grpc.host accepts container hostnames in bridge mode via HG_PD_GRPC_HOST
  • Add distributed cluster section to hugegraph-server/hugegraph-dist/docker/README.md
  • Update docker run examples in hugegraph-pd/README.md and hugegraph-store/README.md to use correct HG_* env var names

Verifying these changes

  • Trivial rework / code cleanup without any test coverage. (No Need)

Does this PR potentially affect the following parts?

  • Dependencies
  • Modify configurations
  • The public API
  • Other affects
  • Nope

Documentation Status

  • Doc - Done

- Create docker/README.md with full setup guide, env var reference,
  port table, health checks, and troubleshooting
- Fix hugegraph-store/docs/deployment-guide.md: replace wrong env vars
  (GRPC_HOST, RAFT_ADDRESS etc.) with correct HG_* names
- Update K8s manifest in deployment-guide.md to use HG_* env vars
- Fix 7 files pointing to dead docker/example/ directory
- Add Docker bridge network notes to PD configuration docs
- Add distributed cluster section to server Docker README

Relates to: apache#2952
The 3-node and single-node quickstart compose files currently mount
entrypoint scripts from source as a workaround until updated Docker
images are published with the new entrypoints baked in.

Add a clear note explaining this temporary requirement so users are
not confused about needing a full source clone to run the cluster.

Relates to: apache#2952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Docker setup broken on macOS/Windows — network_mode: host replaced with bridge networking (single-node + 3-node cluster)

1 participant