Skip to content

Commit 5df3cb1

Browse files
committed
Add suported environment variables to Readme CTR
Signed-off-by: Oleksandr Porunov <[email protected]>
1 parent 17283d6 commit 5df3cb1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ http://localhost:3001
7979

8080
The Docker container can be stopped by calling `docker stop janusgraph-visualizer`.
8181

82+
### Supported Environment Variables
83+
84+
* `GREMLIN_HOST` - sets gremlin server hostname for connection. Default is `localhost`.
85+
* `GREMLIN_PORT` - sets gremlin server port for connection. Default is `8182`.
86+
* `GREMLIN_TRAVERSAL_SOURCE` - sets default graph traversal source name to be used for queries. Default is `g`.
87+
* `GREMLIN_DEFAULT_QUERY` - sets default query to show in visualizer. Default is `g.V()`.
88+
8289
### Usage
8390
* Start JanusGraph-Visualizer as mentioned above
8491
* Start or tunnel a gremlin server

0 commit comments

Comments
 (0)