diff --git a/packages/cardano-node/cardano-node-8.9.1.yaml b/packages/cardano-node/cardano-node-8.9.1.yaml index 35e933a..778e023 100644 --- a/packages/cardano-node/cardano-node-8.9.1.yaml +++ b/packages/cardano-node/cardano-node-8.9.1.yaml @@ -23,6 +23,7 @@ outputs: description: Path to the Cardano Node UNIX socket value: '{{ .Paths.ContextDir }}/node-ipc/node.socket' preInstallScript: 'test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0 || mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest' +postInstallScript: 'mkdir -p {{ .Paths.ContextDir }}/config && docker cp {{ .Package.Name }}-{{ .Package.ShortName }}:/opt/cardano/config/{{ .Context.Network }}/ {{ .Paths.ContextDir }}/config/' tags: - docker - linux diff --git a/packages/kupo/kupo-2.8.0.yaml b/packages/kupo/kupo-2.8.0.yaml new file mode 100644 index 0000000..a6e132f --- /dev/null +++ b/packages/kupo/kupo-2.8.0.yaml @@ -0,0 +1,48 @@ +name: kupo +version: 2.8.0 +description: Kupo is fast, lightweight and configurable chain-index for the Cardano blockchain +dependencies: + - cardano-node >= 8.7.3 +installSteps: + - docker: + containerName: kupo + image: cardanosolutions/kupo:v2.8.0 + command: + - kupo + - --node-socket + - /ipc/node.socket + - --host + - 0.0.0.0 + - --port + - '1442' + - --log-level + - Info + - --node-config + - /config/config.json + - --match + - '*' + - --defer-db-indexes + - --since + - origin + - --workdir + - '/db' + binds: + - '{{ .Paths.ContextDir }}/node-ipc:/ipc' + - '{{ .Paths.DataDir }}/db:/db' + - '{{ .Paths.ContextDir }}/config/{{ .Context.Network }}:/config' + ports: + - "1442" + pullOnly: false +outputs: + - name: url + description: Kupo API URL + value: 'http://localhost:{{ index (index .Ports "kupo") "1442" }}' + - name: health_url + description: Kupo health URL + value: 'http://localhost:{{ index (index .Ports "kupo") "1442" }}/health' +tags: + - docker + - linux + - darwin + - amd64 + - arm64