chore: update codex to release 0.2.5 (#5)

* chore: bump to node 22

https://github.com/codex-storage/nim-codex/issues/1282

* chore: update codex to release 0.2.5

https://github.com/codex-storage/nim-codex/issues/1282
This commit is contained in:
Slava 2025-06-20 21:00:34 +03:00 committed by GitHub
parent 2413d0d86c
commit 84b3e462e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 14 deletions

View File

@ -35,8 +35,8 @@
| Package | Link | | Package | Link |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Codex | [`/ipfs/QmX58nmcGWUG8stCEBQ1Fb6gjejrFpyqNLsavQgPxTPatu`](http://my.dappnode/installer/public/%2Fipfs%2FQmX58nmcGWUG8stCEBQ1Fb6gjejrFpyqNLsavQgPxTPatu) | | Codex | [`/ipfs/QmRobj7vPQ7qJBG42iD8c75SAoMkG1pr1YetYD5QHJNrdz`](http://my.dappnode/installer/public/%2Fipfs%2FQmRobj7vPQ7qJBG42iD8c75SAoMkG1pr1YetYD5QHJNrdz) |
| Codex with local Geth | [`/ipfs/QmRR9uaUuJ866BTtaKXRcNLvzbPTX5JB6AmAGFaANhNGJH`](http://my.dappnode/installer/public/%2Fipfs%2FQmRR9uaUuJ866BTtaKXRcNLvzbPTX5JB6AmAGFaANhNGJH) | | Codex with local Geth | [`/ipfs/QmVwJtetY98Y1mVwQ3ULwha1tiE49jVn3DQEFigdtbRjj6`](http://my.dappnode/installer/public/%2Fipfs%2FQmVwJtetY98Y1mVwQ3ULwha1tiE49jVn3DQEFigdtbRjj6) |
## Todo ## Todo

View File

@ -2,7 +2,7 @@
"upstream": [ "upstream": [
{ {
"repo": "codex-storage/nim-codex", "repo": "codex-storage/nim-codex",
"version": "0.2.3", "version": "0.2.5",
"arg": "UPSTREAM_VERSION_CODEX_NODE" "arg": "UPSTREAM_VERSION_CODEX_NODE"
}, },
{ {

View File

@ -5,8 +5,8 @@ services:
context: ./codex-node context: ./codex-node
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
UPSTREAM_VERSION_CODEX_NODE: 0.2.3 UPSTREAM_VERSION_CODEX_NODE: 0.2.5
image: codex-node.public.dappnode.eth:0.2.3 image: codex-node.public.dappnode.eth:0.2.5
restart: unless-stopped restart: unless-stopped
environment: environment:
MODE: codex-node-with-marketplace MODE: codex-node-with-marketplace

View File

@ -116,12 +116,12 @@
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Node 20 # Node 22
nvm install 20 nvm install 22
# Check # Check
node --version node --version
# v20.18.2 # v22.16.0
``` ```
4. Install [DAppNodeSDK](https://github.com/dappnode/DAppNodeSDK) on remote Dappnode 4. Install [DAppNodeSDK](https://github.com/dappnode/DAppNodeSDK) on remote Dappnode
@ -202,9 +202,8 @@
## Known issues ## Known issues
1. Latest [Node.js LTS release 22](https://nodejs.org/en/about/previous-releases), is not supported and we should use version 20. 1. During local package build it is uploaded to the local IPFS node, but in the Dappnode UI package avatar is loaded from the https://gateway.ipfs.dappnode.io, so most probably it will not be shown and it is not so clear what is the issue. Maybe something is wrong with avatar or something else? We can use default avatar, which is known by Dappnode IPFS gateway.
2. During local package build it is uploaded to the local IPFS node, but in the Dappnode UI package avatar is loaded from the https://gateway.ipfs.dappnode.io, so most probably it will not be shown and it is not so clear what is the issue. Maybe something is wrong with avatar or something else? We can use default avatar, which is known by Dappnode IPFS gateway. 2. File `getting-started.md` is not specified in the official documentation, but it exists and is very usefully.
3. File `getting-started.md` is not specified in the official documentation, but it exists and is very usefully. 3. Dappnodesdk does not support `compose.yaml` file, [which is default and preferred](https://docs.docker.com/compose/intro/compose-application-model/).
4. Dappnodesdk does not support `compose.yaml` file, [which is default and preferred](https://docs.docker.com/compose/intro/compose-application-model/). 4. Often time it can be more effective to [explorer existing packages](https://github.com/dappnode?q=DAppNodePackage&type=all&language=&sort=) configuration, than to use a documentation.
5. Often time it can be more effective to [explorer existing packages](https://github.com/dappnode?q=DAppNodePackage&type=all&language=&sort=) configuration, than to use a documentation. 5. During the package build, Docker warn that ["the attribute `version` is obsolete"](https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete), but dappnodesdk will fail if we remove it - that is very confusing.
6. During the package build, Docker warn that ["the attribute `version` is obsolete"](https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete), but dappnodesdk will fail if we remove it - that is very confusing.