imbajin commented on code in PR #2241:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2241#discussion_r1282786217


##########
hugegraph-dist/README.md:
##########
@@ -0,0 +1,35 @@
+# Deploy Hugegraph server with docker compose(WIP)
+
+## 1. Deploy
+
+We can use `docker-compose up -d` to quickly start an inner HugeGraph server 
with RocksDB in background.
+
+The docker-compose.yaml is below:
+
+```yaml
+version: '3'
+services:
+  graph:
+    image: hugegraph/hugegraph
+    ports:
+      - 18080:8080
+```
+
+## 2. Create Sample Graph on Server Startup
+
+If you want to pre-load some data or graphs in container, you can set the env 
`PRELOAD=ture`
+
+If you want to customize the pre-loaded data, please mount the the groovy 
scripts

Review Comment:
   thanks, we should also provide the doc for `non-docker-compose` user to use 
`docker` cmd directly? (to load example data)



-- 
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]

Reply via email to