diff --git a/packages/cardano-node-api/cardano-node-api-0.4.1.yaml b/packages/cardano-node-api/cardano-node-api-0.4.1.yaml new file mode 100644 index 0000000..b244cdc --- /dev/null +++ b/packages/cardano-node-api/cardano-node-api-0.4.1.yaml @@ -0,0 +1,33 @@ +name: cardano-node-api +version: 0.4.1 +description: Multi-protocol API for interfacing with a local Cardano node +dependencies: + - cardano-config >= 20240725 + - cardano-node >= 9.1.0 +installSteps: + - docker: + containerName: cardano-node-api + image: ghcr.io/blinklabs-io/cardano-node-api:0.4.1 + env: + CARDANO_NETWORK: '{{ .Context.Network }}' + CARDANO_NODE_SOCKET_PATH: /ipc/node.socket + binds: + - '{{ .Paths.ContextDir }}/node-ipc:/ipc' + - '{{ .Paths.ContextDir }}/config/{{ .Context.Network }}:/opt/cardano/config' + ports: + - "8080" + - "9090" + pullOnly: false +outputs: + - name: grpc + description: Cardano Node API gRPC service + value: 'http://localhost:{{ index (index .Ports "cardano-node-api") "8080" }}' + - name: rest + description: Cardano Node API REST service + value: 'localhost:{{ index (index .Ports "cardano-node-api") "9090" }}' +tags: + - docker + - linux + - darwin + - amd64 + - arm64