2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00
2025-02-13 19:16:26 +02:00

Codex Dappnode package

Codex Dappnode package

Description

Codex is a durable, decentralised storage protocol designed to safeguard the world's most valuable information.

Repository contains code to build Dappnode packages for Codex

  • Codex
  • Codex local Geth

We should select Codex package in case we would like to run Codex and use a Public RPC endpoint.

If we would like to run in a full P2P manner, Codex local Geth package contains additionally local Geth node and Codex will use it instead of the Public RPC endpoint.

Installation

Note

This code is in a preview mode and can be installed only from local builds. Please check Development documentation for more details.

# Clone
git clone https://github.com/codex-storage/DAppNodePackage-codex

# Directory
cd DAppNodePackage-codex

# Build all packages ~ 10 minutes
npx @dappnode/dappnodesdk build --all-variants --provider=http://172.33.0.6:5001

Todo

  1. Automate package publishing using GitHub Actions.
  2. Add metrics support based on the DAppNodePackage-DMS.

Known issues

  1. Dappnode Setup Wizard and UI does not permit to update port mapping port for container. And in that case we are using a default value, which is set to 8090 and appropriate Codex variable CODEX_DISC_PORT=8090 - these values are hardcoded in the docker-compose.yml.

    This also is a Codex limitation, because for DHT peers connection, we are using src-ip:src-port information and this can't be changed now. So, listener port must be equal with the forwarded one.

    A single way to bypass that is to update, after installation, CODEX_DISC_PORT variable to the new value and add a new port forwarding in the the package Network settings.

  2. Dappnode Setup Wizard is not supported for Multi-Config Package, so our main setup-wizard.yml does not contain any settings for Geth configuration and we are using all hardcoded values.

Description
Codex Dappnode packages
Readme
Languages
Shell 90.6%
Dockerfile 9.4%