diff --git a/packages/cardano-node/cardano-node-9.2.0.yaml b/packages/cardano-node/cardano-node-9.2.0.yaml new file mode 100644 index 0000000..d8d27af --- /dev/null +++ b/packages/cardano-node/cardano-node-9.2.0.yaml @@ -0,0 +1,49 @@ +name: cardano-node +version: 9.2.0 +description: Cardano node software by Input Output Global +dependencies: + - cardano-config = 20240725 + - cardano-cli >= 9.4.1.0 + - mithril-client >= 0.9.6 +installSteps: + - docker: + containerName: cardano-node + image: ghcr.io/blinklabs-io/cardano-node:9.2.0 + 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: '{{ 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