From db2d08ee62c3fb9cc76e31c5e98446db48f54e1e Mon Sep 17 00:00:00 2001 From: Ales Verbic Date: Wed, 6 Mar 2024 15:28:19 -0500 Subject: [PATCH] feat: add Ogmios package (#82) Signed-off-by: Ales Verbic --- pkgmgr/registry.go | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pkgmgr/registry.go b/pkgmgr/registry.go index 7ba56cd..cae66c0 100644 --- a/pkgmgr/registry.go +++ b/pkgmgr/registry.go @@ -96,6 +96,34 @@ docker run --rm -ti ghcr.io/blinklabs-io/mithril-client:0.7.0-1 $@ }, }, }, + { + Name: "ogmios", + Version: "v6.1.0", + Description: "Ogmios, a WebSocket & HTTP server for Cardano, providing a bridge between Cardano nodes and clients.", + Tags: []string{"docker", "linux", "darwin", "amd64", "arm64"}, + InstallSteps: []PackageInstallStep{ + { + Docker: &PackageInstallStepDocker{ + ContainerName: "ogmios", + Image: "cardanosolutions/ogmios:v6.1.0", + Binds: []string{ + "{{ .Paths.CacheDir }}/ipc:/ipc", + }, + Ports: []string{ + "1337", + }, + Command: []string{ + "ogmios", + "--log-level", "info", + "--host", "0.0.0.0", + "--port", "1337", + "--node-socket", "/ipc/node.socket", + "--node-config", "/config/mainnet/cardano-node/config.json", + }, + }, + }, + }, + }, // Test packages {