aroundabout commented on code in PR #288: URL: https://github.com/apache/incubator-hugegraph-doc/pull/288#discussion_r1349913115
########## content/en/docs/quickstart/hugegraph-hubble.md: ########## @@ -35,11 +35,38 @@ For Gremlin tasks that need to traverse the whole graph, index creation and reco ### 2 Deploy There are three ways to deplot `hugegraph-hubble` +- Use Docker (recommended) - Download the Toolchain binary package - Source code compilation -- Use Docker -#### 2.1 Download the Toolchain binary package +#### 2.1 Use docker (recommended) + +> **Special Note**: If you are starting `hubble` with Docker, and `hubble` and the server are on the same host. When configuring the hostname for the graph on the Hubble web page, please do not directly set it to `localhost/127.0.0.1`. This will refer to the `hubble` container internally rather than the host machine, resulting in a connection failure to the server. + +We can use `docker run -itd --name=hubble -p 8088:8088 hugegraph/hubble` to quick start [hubble](https://hub.docker.com/r/hugegraph/hubble). + +Alternatively, you can use Docker Compose to start `hubble`. Additionally, if `hubble` and the graph are in the same Docker network, you can access the graph using the container name of the graph, eliminating the need for the host machine's IP address. + +Use `docker-compose up -d`,`docker-compose.yml` is following: + +```yaml +version: '3' +services: + graph_hubble: Review Comment: ```suggestion graph_hubble: server: ``` ########## content/en/docs/quickstart/hugegraph-hubble.md: ########## @@ -35,11 +35,38 @@ For Gremlin tasks that need to traverse the whole graph, index creation and reco ### 2 Deploy There are three ways to deplot `hugegraph-hubble` +- Use Docker (recommended) - Download the Toolchain binary package - Source code compilation -- Use Docker -#### 2.1 Download the Toolchain binary package +#### 2.1 Use docker (recommended) + +> **Special Note**: If you are starting `hubble` with Docker, and `hubble` and the server are on the same host. When configuring the hostname for the graph on the Hubble web page, please do not directly set it to `localhost/127.0.0.1`. This will refer to the `hubble` container internally rather than the host machine, resulting in a connection failure to the server. + +We can use `docker run -itd --name=hubble -p 8088:8088 hugegraph/hubble` to quick start [hubble](https://hub.docker.com/r/hugegraph/hubble). + +Alternatively, you can use Docker Compose to start `hubble`. Additionally, if `hubble` and the graph are in the same Docker network, you can access the graph using the container name of the graph, eliminating the need for the host machine's IP address. + +Use `docker-compose up -d`,`docker-compose.yml` is following: + +```yaml +version: '3' +services: + graph_hubble: Review Comment: ```suggestion server: ``` -- 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]
