You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: content/en/docs/quickstart/hugegraph/hugegraph-server.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,12 +42,12 @@ There are four ways to deploy HugeGraph-Server components:
42
42
<!-- 3.1 is linked by another place. if change 3.1's title, please check -->
43
43
You can refer to [Docker deployment guide](https://hub.docker.com/r/hugegraph/hugegraph).
44
44
45
-
We can use `docker run -itd --name=graph -p 8080:8080 hugegraph/hugegraph:1.5.0` to quickly start an inner `HugeGraph server` with `RocksDB` in background.
45
+
We can use `docker run -itd --name=graph -e PASSWORD=xxx -p 8080:8080 hugegraph/hugegraph:1.5.0` to quickly start an inner `HugeGraph server` with `RocksDB` in background.
46
46
47
47
Optional:
48
48
1. use `docker exec -it graph bash` to enter the container to do some operations.
49
49
2. use `docker run -itd --name=graph -p 8080:8080 -e PRELOAD="true" hugegraph/hugegraph:1.5.0` to start with a **built-in** example graph. We can use `RESTful API` to verify the result. The detailed step can refer to [5.1.7](#517-create-an-example-graph-when-startup)
50
-
3. use `-e PASSWORD=123456` to enable auth mode and set the password for admin. You can find more details from [Config Authentication](/docs/config/config-authentication#Use-docker-to-enble-authentication-mode)
50
+
3. use `-e PASSWORD=xxx` to enable auth mode and set the password for admin. You can find more details from [Config Authentication](/docs/config/config-authentication#Use-docker-to-enble-authentication-mode)
51
51
52
52
If you use docker desktop, you can set the option like:
53
53
<divstyle="text-align: center;">
@@ -62,11 +62,11 @@ services:
62
62
server:
63
63
image: hugegraph/hugegraph:1.5.0
64
64
container_name: server
65
-
# environment:
65
+
environment:
66
+
- PASSWORD=xxx
67
+
# PASSWORD is an option to enable auth mode with the password you set.
66
68
# - PRELOAD=true
67
69
# PRELOAD is a option to preload a build-in sample graph when initializing.
68
-
# - PASSWORD=123456
69
-
# PASSWORD is an option to enable auth mode with the password you set.
70
70
ports:
71
71
- 8080:8080
72
72
```
@@ -605,6 +605,7 @@ Set the environment variable `PRELOAD=true` when starting Docker to load data du
0 commit comments