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.
git clone \
--recurse-submodules \
https://github.com/xray-network/xray-graph-ogmios.git \
&& cd xray-graph-ogmios
cp .env.example .env
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
- Ogmios — https://ogmios.dev/api/
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.