Skip to content

Commit db544d2

Browse files
authored
feat(packages): cardano-node 9.0.0 (#272)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent ac8376e commit db544d2

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: cardano-node
2+
version: 9.0.0
3+
description: Cardano node software by Input Output Global
4+
dependencies:
5+
- cardano-config = 20240702
6+
- cardano-cli >= 9.0
7+
- mithril-client >= 0.8
8+
installSteps:
9+
- docker:
10+
containerName: cardano-node
11+
image: ghcr.io/blinklabs-io/cardano-node:9.0.0
12+
env:
13+
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket
14+
NETWORK: '{{ .Context.Network }}'
15+
RESTORE_NETWORK: 'false'
16+
binds:
17+
- '{{ .Paths.ContextDir }}/config:/opt/cardano/config'
18+
- '{{ .Paths.ContextDir }}/node-ipc:/ipc'
19+
- '{{ .Paths.DataDir }}/data:/data'
20+
ports:
21+
- "3001"
22+
- "12788"
23+
- "12798"
24+
pullOnly: false
25+
- file:
26+
binary: true
27+
filename: nview
28+
source: files/nview.sh.gotmpl
29+
- file:
30+
binary: true
31+
filename: txtop
32+
source: files/txtop.sh.gotmpl
33+
outputs:
34+
- name: port
35+
description: Ouroboros Node-to-Node service
36+
value: '{{ index (index .Ports "cardano-node") "3001" }}'
37+
- name: socket_path
38+
description: Path to the Cardano Node UNIX socket
39+
value: '{{ .Paths.ContextDir }}/node-ipc/node.socket'
40+
preInstallScript: |
41+
set -e
42+
test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0
43+
mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest
44+
tags:
45+
- docker
46+
- linux
47+
- darwin
48+
- amd64
49+
- arm64

0 commit comments

Comments
 (0)