Invana Engine is served over GraphQL, so it can be used without Invana Studio. For any such use cases, below are the docker-based and standalone installation methods.

Invana Engine connects to the Apache TinkerPop's Gremlin Server's for communicating with the Graph Database. Below is the simple representation of how Invana Engine connects to a Graph Database.

Running using Docker

$ docker run -p 8200:8200 -d  -e GREMLIN_SERVER_URL=ws://xx.xx.xx.xx:8182/gremlin --name invana-engine invanalabs/invana-engine 

Invana Engine will be available at http://<ip-address:8200>. Following Docker environment variables are supported:

  • GREMLIN_SERVER_URL: http or ws gremlin url. ex: ws://xx.xx.xx.xx:8182/gremlin or http://xx.xx.xx.xx:8182/gremlin

  • GREMLIN_TRAVERSAL_SOURCE(optional): defaults: 'g'

  • GREMLIN_SERVER_USERNAME(optional): gremlin username. ex: myusername

  • GREMLIN_SERVER_PASSWORD(optional): gremlin password. ex: mypassword

  • SERVER_PORT(optional, available in standalone python mode only): port on which invana engine server is available: defaults to 8200

You can explore docker compose templates from here to deploy Invana Engine with Analytics Infrastructure with any of Invana supported Graph databases.

Running using Python server (standalone)

pip3 install invana-engine

export GREMLIN_SERVER_URL=ws://xx.xx.xx.xx:8182/gremlin

Running python server via this implementation is not designed for production setup.

Last updated