-
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.
chore(packages): upgrade cardano-node to 8.9.3 (#244)
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
- Loading branch information
Showing
1 changed file
with
49 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,49 @@ | ||
name: cardano-node | ||
version: 8.9.3 | ||
description: Cardano node software by Input Output Global | ||
dependencies: | ||
- cardano-config >= 20240515 | ||
- cardano-cli >= 8.20 | ||
- mithril-client >= 0.8 | ||
installSteps: | ||
- docker: | ||
containerName: cardano-node | ||
image: ghcr.io/blinklabs-io/cardano-node:8.9.3 | ||
env: | ||
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket | ||
NETWORK: '{{ .Context.Network }}' | ||
RESTORE_NETWORK: 'false' | ||
binds: | ||
- '{{ .Paths.ContextDir }}/config:/opt/cardano/config' | ||
- '{{ .Paths.ContextDir }}/node-ipc:/ipc' | ||
- '{{ .Paths.DataDir }}/data:/data' | ||
ports: | ||
- "3001" | ||
- "12788" | ||
- "12798" | ||
pullOnly: false | ||
- file: | ||
binary: true | ||
filename: nview | ||
source: files/nview.sh.gotmpl | ||
- file: | ||
binary: true | ||
filename: txtop | ||
source: files/txtop.sh.gotmpl | ||
outputs: | ||
- name: port | ||
description: Ouroboros Node-to-Node service | ||
value: 'localhost:{{ index (index .Ports "cardano-node") "3001" }}' | ||
- name: socket_path | ||
description: Path to the Cardano Node UNIX socket | ||
value: '{{ .Paths.ContextDir }}/node-ipc/node.socket' | ||
preInstallScript: | | ||
set -e | ||
test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0 | ||
mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest | ||
tags: | ||
- docker | ||
- linux | ||
- darwin | ||
- amd64 | ||
- arm64 |