{"id":43847585,"url":"https://github.com/xray-network/xray-graph-kupmios","last_synced_at":"2026-02-06T06:10:43.528Z","repository":{"id":179895975,"uuid":"663846859","full_name":"xray-network/xray-graph-kupmios","owner":"xray-network","description":"XRAY/Graph Kupmios — Dockerized Kupo \u0026 Ogmios (Cardano Node) stack","archived":false,"fork":false,"pushed_at":"2025-07-29T14:16:47.000Z","size":48,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T17:04:54.705Z","etag":null,"topics":["blockchain","cardano","cardano-node","indexer","xray"],"latest_commit_sha":null,"homepage":"https://xray.app","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xray-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-07-08T08:54:19.000Z","updated_at":"2025-07-29T14:16:51.000Z","dependencies_parsed_at":"2024-06-25T19:50:15.409Z","dependency_job_id":"e9821b49-499e-41ff-bdc6-18a156539e27","html_url":"https://github.com/xray-network/xray-graph-kupmios","commit_stats":null,"previous_names":["ray-network/raygraph-kupmios","ray-network/xray-graph-kupmios","xray-network/xray-graph-kupmios"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/xray-network/xray-graph-kupmios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xray-network%2Fxray-graph-kupmios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xray-network%2Fxray-graph-kupmios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xray-network%2Fxray-graph-kupmios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xray-network%2Fxray-graph-kupmios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xray-network","download_url":"https://codeload.github.com/xray-network/xray-graph-kupmios/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xray-network%2Fxray-graph-kupmios/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cardano","cardano-node","indexer","xray"],"created_at":"2026-02-06T06:10:41.823Z","updated_at":"2026-02-06T06:10:43.522Z","avatar_url":"https://github.com/xray-network.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://discord.gg/WhZmm46APN\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/852538978946383893?style=for-the-badge\u0026logo=discord\u0026label=Discord\u0026labelColor=%231940ED\u0026color=%233FCB9B\"\u003e\u003c/a\u003e\n\n# XRAY/Graph Kupmios — Dockerized Kupo \u0026 Ogmios (Cardano Node)\n\nXRAY/Graph Kupmios is a tool for fast and predictable deployment of [Ogmios](https://ogmios.dev) (Cardano Node) and [Kupo](https://cardanosolutions.github.io/kupo/) (customizable Cardano blockchain indexer) stack in a docker environment. Used in the [XRAY/Graph](https://xray.app/) distributed Cardano API provider.\n\n## Getting Started\n\n### Prepare Installation\n\n``` console\ngit clone \\\n  --recurse-submodules \\\n  https://github.com/xray-network/xray-graph-kupmios.git \\\n  \u0026\u0026 cd xray-graph-kupmios\n```\n\n### MAINNET\n\n``` console\nNETWORK=mainnet \\\ndocker compose -f docker-compose.yaml -p kupmios-mainnet up -d --build\n```\n\n### PREPROD\n\n``` console\nNETWORK=preprod \\\nOGMIOS_PORT=1338 \\\nCARDANO_PORT=3001 \\\nRAPIDOC_KUPO_PORT=2601 \\\nRAPIDOC_OGMIOS_PORT=2501 \\\ndocker compose -f docker-compose.yaml -p kupmios-preprod up -d --build\n```\n\n### PREVIEW\n\n``` console\nNETWORK=preview \\\nOGMIOS_PORT=1339 \\\nCARDANO_PORT=3002 \\\nRAPIDOC_KUPO_PORT=2602 \\\nRAPIDOC_OGMIOS_PORT=2502 \\\ndocker compose -f docker-compose.yaml -p kupmios-preview up -d --build\n```\n\n## Advanced Usage\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eRestoring From Snapshot\u003c/b\u003e\u003c/summary\u003e\n  \n## Step 0: Installing Dependencies\n\nInstalling dependepcies (if needed):\n``` console\nsudo apt update \u0026\u0026 sudo apt install zstd jq wget -y\n```\n\n## Step 1: Restoring Cardano Node DB\n\n1. Enter root dir:\n``` console\ncd xray-graph-kupmios\n```\n\n2. Run docker compose up (clean run):\n  ``` console\nNETWORK=mainnet \\\ndocker compose -f docker-compose.yaml -p kupmios-mainnet up -d --build\n```\n\n3. Stop cardano-node-ogmios container:\n``` console\ndocker stop *container_id*\n```\n\n4. Download lates cardano-node-ogmios db:\n``` console\nwget -c -O - \"https://downloads.csnapshots.io/mainnet/$(wget -qO- https://downloads.csnapshots.io/mainnet/mainnet-db-snapshot.json | jq -r .[].file_name)\" | zstd -d -c | tar -x -C ./snapshots\n```\n\n5. Get node_db volume id:\n``` console\ndocker volume ls\n```\n\n6. Remove cardano-node-ogmios db and copy downloaded:\n```\nsudo rm -rf /var/lib/docker/volumes/*cardano-node-ogmios_node_db-volume-id*/_data \\\nsudo mv ./snapshots/db /var/lib/docker/volumes/*cardano-node-ogmios_node_db-volume-id*/_data\n```\n\n7. Start cardano-node-ogmios container:\n\n``` console\ndocker start *container_id*\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eKupo Configuration\u003c/b\u003e\u003c/summary\u003e\n\n``` console\nKUPO_MATCH_PREVIEW=* \\\nKUPO_SINCE_PREVIEW=origin \\\ndocker compose --profile preview up -d\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eTypeScript Client\u003c/b\u003e\u003c/summary\u003e\n  \nWe recommend to use `cardano-kupo-client`. Visit [cardano-kupo-client](https://github.com/xray-network/cardano-kupo-client) repo for more information.\nWe recommend to use `cardano-ogmios-client`. Visit [cardano-ogmios-client](https://github.com/xray-network/cardano-ogmios-client) repo for more information.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eUsing in Graph Cluster (Traefik Reverse Proxy)\u003c/b\u003e\u003c/summary\u003e\n\n1. Clone and run Traefik:\n``` console\ngit clone https://github.com/xray-network/traefik-docker.git \\\n\u0026\u0026 cd traefik-docker \\\n\u0026\u0026 docker compose up -d\n```\n\n2. Set `BEARER_RESOLVER_TOKEN` and `docker-compose.xray.yaml`:\n``` console\nNETWORK=mainnet \\\nBEARER_RESOLVER_TOKEN=your_access_token \\\ndocker compose -f docker-compose.xray.yaml -p kupmios-mainnet up -d --build\n```\n\n\u003c/details\u003e\n\n## Documentation\n\n* Kupo — https://cardanosolutions.github.io/kupo/\n* Kupo Rapidoc Playground (OpenAPI Schema) — https://graph.xray.app/output/services/kupo/mainnet/api/v1/\n* Kupo OpenAPI Schema (JSON) — https://graph.xray.app/output/services/kupo/mainnet/api/v1/openapi.json\n* Kupo TypeScript Client — https://github.com/xray-network/cardano-kupo-client\n* Ogmios — https://ogmios.dev/\n* Ogmios Rapidoc Playground (OpenAPI Schema) — https://graph.xray.app/output/services/ogmios/mainnet/api/v1/\n* Ogmios OpenAPI Schema (JSON) — https://graph.xray.app/output/services/ogmios/mainnet/api/v1/openapi.json\n* Ogmios TypeScript Client — https://github.com/xray-network/cardano-ogmios-client\n* Traefik — https://traefik.io/traefik\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-network%2Fxray-graph-kupmios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxray-network%2Fxray-graph-kupmios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-network%2Fxray-graph-kupmios/lists"}