📓
Invana Docs
  • Invana
  • Getting Started
  • Products
    • Introduction
    • Python API
      • Modelling using OGM
      • Data Types
      • Indexes
      • Search
      • Schema Management
      • Event Triggers
    • Invana Engine
      • Installation
    • Invana Studio
  • Resources
    • Guides
    • Support
    • Blog
    • Opensource @ Invana
    • invana.io 🚀
Powered by GitBook
On this page
  • Running using Docker
  • Running using Python server (standalone)

Was this helpful?

Edit on GitHub
  1. Products
  2. Invana Engine

Installation

PreviousInvana EngineNextInvana Studio

Last updated 3 years ago

Was this helpful?

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

Running using Python server (standalone)

pip3 install invana-engine

export GREMLIN_SERVER_URL=ws://xx.xx.xx.xx:8182/gremlin
invana-engine-start

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

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

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

http://xx.xx.xx.xx:8182/gremlin
here