Skip to content

Commit

Permalink
Add suported environment variables to Readme CTR
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Porunov <[email protected]>
  • Loading branch information
porunov committed Nov 3, 2024
1 parent 17283d6 commit 5df3cb1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ http://localhost:3001

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

### Supported Environment Variables

* `GREMLIN_HOST` - sets gremlin server hostname for connection. Default is `localhost`.
* `GREMLIN_PORT` - sets gremlin server port for connection. Default is `8182`.
* `GREMLIN_TRAVERSAL_SOURCE` - sets default graph traversal source name to be used for queries. Default is `g`.
* `GREMLIN_DEFAULT_QUERY` - sets default query to show in visualizer. Default is `g.V()`.

### Usage
* Start JanusGraph-Visualizer as mentioned above
* Start or tunnel a gremlin server
Expand Down

0 comments on commit 5df3cb1

Please sign in to comment.