-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(packages): initial cardano-node-api package (#253)
Signed-off-by: Chris Gianelloni <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |