Skip to content

Commit 4764525

Browse files
authored
feat(packages): cardano-node-api 0.2.0 (#274)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent b9e68f8 commit 4764525

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: cardano-node-api
2+
version: 0.2.0
3+
description: Multi-protocol API for interfacing with a local Cardano node
4+
dependencies:
5+
- cardano-config >= 20240515
6+
- cardano-node >= 8.7.3
7+
installSteps:
8+
- docker:
9+
containerName: cardano-node-api
10+
image: ghcr.io/blinklabs-io/cardano-node-api:0.2.0
11+
env:
12+
CARDANO_NETWORK: '{{ .Context.Network }}'
13+
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket
14+
binds:
15+
- '{{ .Paths.ContextDir }}/node-ipc:/ipc'
16+
- '{{ .Paths.ContextDir }}/config/{{ .Context.Network }}:/opt/cardano/config'
17+
ports:
18+
- "8080"
19+
- "9090"
20+
pullOnly: false
21+
outputs:
22+
- name: grpc
23+
description: Cardano Node API gRPC service
24+
value: 'http://localhost:{{ index (index .Ports "cardano-node-api") "8080" }}'
25+
- name: rest
26+
description: Cardano Node API REST service
27+
value: 'localhost:{{ index (index .Ports "cardano-node-api") "9090" }}'
28+
tags:
29+
- docker
30+
- linux
31+
- darwin
32+
- amd64
33+
- arm64

0 commit comments

Comments
 (0)