Skip to content

Commit

Permalink
feat(packages): initial cardano-node-api package (#253)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 authored Jun 12, 2024
1 parent 7efcfec commit a07a38b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions packages/cardano-node-api/cardano-node-api-0.1.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: cardano-node-api
version: 0.1.1
description: Multi-protocol API for interfacing with a local Cardano node
dependencies:
- cardano-config >= 20240515
- cardano-node >= 8.7.3
installSteps:
- docker:
containerName: cardano-node-api
image: ghcr.io/blinklabs-io/cardano-node-api:0.1.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

0 comments on commit a07a38b

Please sign in to comment.