This is an automated email from the ASF dual-hosted git repository.

vgalaxies pushed a commit to branch pd-store-docker
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git

commit 67f59e200da73665e4510f6648d818036a83a047
Author: VGalaxies <[email protected]>
AuthorDate: Sun Apr 21 19:01:29 2024 +0800

    fix typo
---
 README.md                                                   | 2 +-
 hugegraph-server/Dockerfile                                 | 4 ++--
 hugegraph-server/hugegraph-dist/docker/README.md            | 6 +++---
 hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 61930248a..cf64cd674 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ achieved through 
[Gremlin](https://tinkerpop.apache.org/gremlin.html)(a powerful
 We can use `docker run -itd --name=graph -p 8080:8080 hugegraph/hugegraph` to 
quickly start an inner 
 HugeGraph server with `RocksDB` (in backgrounds) for **test/dev**.
 You can visit [doc 
page](https://hugegraph.apache.org/docs/quickstart/hugegraph-server/#3-deploy) 
or
-the [README](hugegraph-server/hugegraph-dist/docker/READEME.md) for more 
details. ([Docker Compose](./hugegraph-server/hugegraph-dist/docker/example))
+the [README](hugegraph-server/hugegraph-dist/docker/README.md) for more 
details. ([Docker Compose](./hugegraph-server/hugegraph-dist/docker/example))
 
 > Note:
 >  
diff --git a/hugegraph-server/Dockerfile b/hugegraph-server/Dockerfile
index 8eef58c5f..ed6f3c40b 100644
--- a/hugegraph-server/Dockerfile
+++ b/hugegraph-server/Dockerfile
@@ -34,7 +34,7 @@ LABEL maintainer="HugeGraph Docker Maintainers 
<[email protected]>"
 
 # TODO: use g1gc or zgc as default
 ENV JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseContainerSupport 
-XX:MaxRAMPercentage=50 -XshowSettings:vm" \
-    HUGEGRAPH_HOME="hugegraph"
+    HUGEGRAPH_HOME="hugegraph-server"
 
 #COPY . /hugegraph/hugegraph-server
 WORKDIR /hugegraph-server/
@@ -59,7 +59,7 @@ RUN set -x \
 COPY hugegraph-server/hugegraph-dist/docker/scripts/remote-connect.groovy 
./scripts
 COPY hugegraph-server/hugegraph-dist/docker/scripts/detect-storage.groovy 
./scripts
 COPY hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh .
-RUN chmod 755 ./docker-entrypoint.sh 
+RUN chmod 755 ./docker-entrypoint.sh
 
 EXPOSE 8080
 VOLUME /hugegraph-server
diff --git a/hugegraph-server/hugegraph-dist/docker/README.md 
b/hugegraph-server/hugegraph-dist/docker/README.md
index b9547d498..00cf3d638 100644
--- a/hugegraph-server/hugegraph-dist/docker/README.md
+++ b/hugegraph-server/hugegraph-dist/docker/README.md
@@ -4,7 +4,7 @@
 > 
 > 1. The docker image of hugegraph is a convenience release, not official 
 > distribution artifacts from ASF. You can find more details from [ASF Release 
 > Distribution 
 > Policy](https://infra.apache.org/release-distribution.html#dockerhub).
 > 
-> 2. Recommend to use `release tag`(like `1.2.0`) for the stable version. Use 
`latest` tag to experience the newest functions in development.
+> 2. Recommend to use `release tag` (like `1.3.0`) for the stable version. Use 
`latest` tag to experience the newest functions in development.
 
 ## 1. Deploy
 
@@ -35,7 +35,7 @@ If you want to customize the preloaded data, please mount the 
groovy scripts (no
 
 1. Using docker run
 
-    Use `docker run -itd --name=graph -p 8080:8080 -e PRELOAD=true -v 
/path/to/yourScript:/hugegraph/scripts/example.groovy hugegraph/hugegraph`
+    Use `docker run -itd --name=graph -p 8080:8080 -e PRELOAD=true -v 
/absolute/path/to/your/script:/hugegraph-server/scripts/example.groovy 
hugegraph/hugegraph`
     to start hugegraph server.
 
 2. Using docker compose 
@@ -50,7 +50,7 @@ If you want to customize the preloaded data, please mount the 
groovy scripts (no
         environment:
           - PRELOAD=true
         volumes:
-          - /path/to/yourscript:/hugegraph/scripts/example.groovy
+          - 
/absolute/path/to/your/script:/hugegraph-server/scripts/example.groovy
         ports:
           - 8080:8080
     ```
diff --git a/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh 
b/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh
index efd6a4f8e..60cd4bc16 100644
--- a/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh
+++ b/hugegraph-server/hugegraph-dist/docker/docker-entrypoint.sh
@@ -39,7 +39,7 @@ else
     echo "Hugegraph Initialization already done. Skipping re-init..."
 fi
 
-# start hugegraph
+# start hugegraph-server
 # remove "-g zgc" now, which is only available on ARM-Mac with java > 13 
 ./bin/start-hugegraph.sh -j "$JAVA_OPTS" 
 

Reply via email to