This is an automated email from the ASF dual-hosted git repository.
ming pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
The following commit(s) were added to refs/heads/master by this push:
new d7733db3 doc(hubble): add docker-compose to start with server (#522)
d7733db3 is described below
commit d7733db31491e36c90c766aa0099f71a49ba6f41
Author: Dandelion <[email protected]>
AuthorDate: Sun Oct 8 09:00:07 2023 +0800
doc(hubble): add docker-compose to start with server (#522)
* doc(hubble): add docker-compose to start with server
* doc(hubble): add docker-compose to start with server
---
README.md | 2 +-
hugegraph-hubble/README.md | 26 +++++++++++++++++++++++++-
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 0454d6d4..2651d2f4 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
## Modules
- [hugegraph-loader](./hugegraph-loader): Loading datasets into the HugeGraph
from multiple data sources.
-- [hugegraph-hubble](./hugegraph-hubble): Online HugeGraph management and
analysis dashboard (Include: data loading, schema management, graph traverser
and display). We can use `docker run -itd --name=hubble -p 8088:8088
hugegraph/hubble` to quickly start
[hubble](https://hub.docker.com/r/hugegraph/hubble).
+- [hugegraph-hubble](./hugegraph-hubble): Online HugeGraph management and
analysis dashboard (Include: data loading, schema management, graph traverser
and display). We can use `docker run -itd --name=hubble -p 8088:8088
hugegraph/hubble` to quickly start
[hubble](https://hub.docker.com/r/hugegraph/hubble) or we can follow
[this](hugegraph-hubble/README.md#quick-start) to use docker-compose to start
`hubble` with `server`.
- [hugegraph-tools](./hugegraph-tools): Command line tool for deploying,
managing and backing-up/restoring graphs from HugeGraph.
- [hugegraph-client](./hugegraph-client): A Java-written client for HugeGraph,
providing `RESTful` APIs for accessing graph
vertex/edge/schema/gremlin/variables and traversals etc.
diff --git a/hugegraph-hubble/README.md b/hugegraph-hubble/README.md
index ce467540..e19fd280 100644
--- a/hugegraph-hubble/README.md
+++ b/hugegraph-hubble/README.md
@@ -15,7 +15,31 @@ hugegraph-hubble is a graph management and analysis platform
that provides featu
## Quick Start
-We can use `docker run -itd --name=hubble -p 8088:8088 hugegraph/hubble` to
quickly start [hubble](https://hub.docker.com/r/hugegraph/hubble).
+We can quickly start `hubble` in two ways:
+
+1. We can use `docker run -itd --name=hubble -p 8088:8088 hugegraph/hubble` to
quickly start [hubble](https://hub.docker.com/r/hugegraph/hubble).
+2. Or we can use the `docker-compose.yml` to start `hubble` with
`hugegraph-server`. If we set `PRELOAD=true`, we can preload the example graph
when starting `hugegraph-server`:
+
+
+ ```
+ version: '3'
+ services:
+ server:
+ image: hugegraph/hugegraph
+ container_name: graph
+ #environment:
+ # - PRELOAD=true
+ ports:
+ - 18080:8080
+
+ hubble:
+ image: hugegraph/hubble
+ container_name: hubble
+ ports:
+ - 8088:8088
+ ```
+
+Then we should follow the [hubble
doc](https://hugegraph.apache.org/docs/quickstart/hugegraph-hubble/#3platform-workflow)
to create the graph.
## Doc