Skip to content

xray-network/xray-graph-ogmios

Repository files navigation

Discord

XRAY/Graph Ogmios — Dockerized Ogmios stack

XRAY/Graph Ogmios is a tool for fast and predictable deployment of Haproxy (TCP/HTTP Load Balancer), and Ogmios (Cardano Node) stack in a docker environment. Used in the XRAY/Graph distributed Cardano API provider.

Getting Started

Prepare Installation

git clone \
  --recurse-submodules \
  https://github.com/xray-network/xray-graph-ogmios.git \
  && cd xray-graph-ogmios
cp .env.example .env

Build and Run via Docker Compose

You can combine profiles to run multiple networks on the same machine: docker compose --profile mainnet --profile preprod --profile preview up -d

MAINNET
docker compose --profile mainnet up -d
PREPROD
docker compose --profile preprod up -d
PREVIEW
docker compose --profile preview up -d

Endpoints List

Advanced Usage

Topology

If you need to specify which connections the Cardano Node should establish (useful if you are using node as a relay) - edit the config/cardano-node-ogmios/mainnet/topology.json file before run the docker compose up command.