- **`Codexnode`** - useful for local testing/development and basic/files sharing.
- **`Codexnode with marketplace support`** (`Recommended`) - you can share files and buy the storage, this is the main mode and should be used by the end users.
- **`Codexstorage node`** - should be used by storage providers or if you would like to sell your local storage.
enum:
- codex-node
- codex-node-with-marketplace
- codex-storage-node
required:true
- id:NETWORK
target:
type:environment
name:NETWORK
service:[codex-node, geth]
title:Codex network
description:>-
- **`Testnet`**- Codex Testnet network. Please check the [docs](https://docs.codex.storage/networks/networks) for available networks.
enum:
- testnet
required:true
- id:ETH_PRIVATE_KEY
target:
type:environment
name:ETH_PRIVATE_KEY
service:codex-node
title:ETH_PRIVATE_KEY
description:>-
Ethereum private key which will be saved to a file and passed as a value for `CODEX_ETH_PRIVATE_KEY` variable.
secret:true
pattern:"^0x[a-fA-F0-9]{64}$"
patternErrorMessage:Must be a valid private key (0x1fd16a...)
We should set this variable **only if we would like to override auto-detected address**. Please check the address for the network you are using in the [docs](https://docs.codex.storage/networks/networks).
pattern:"^0x[a-fA-F0-9]{40}$"
patternErrorMessage:Must be a valid Ethereum address
We should set this variable because we are running in **Codex `storage node`** mode. Please check the address for the network you are using in the [docs](https://docs.codex.storage/networks/networks).
pattern:"^0x[a-fA-F0-9]{40}$"
patternErrorMessage:Must be a valid Ethereum address
required:true
if:{"MODE": { "enum": ["codex-storage-node"]}}
- id:IP_MODE
target:
type:environment
name:IP_MODE
service:codex-node
title:IP detection mode
description:>-
Set your Public IP address manually or use autodetection.
Specify method to use for determining public address. Must be one of:`any`, `none`, `upnp`, `pmp`, `extip:<IP>`, default = `any`. Check the [docs](https://docs.codex.storage/learn/run#nat-configuration) for more details.
The size of the total storage quota dedicated to the node, default = `8gb`. Accept common units like kb, mb, gb, tb.
pattern:"^[0-9A-Za-z]+$"
patternErrorMessage:Must be a valid storage quota value - number with an optional unit
required:true
- id:CODEX_BLOCK_TTL
target:
type:environment
name:CODEX_BLOCK_TTL
service:codex-node
title:CODEX_BLOCK_TTL
description:>-
Default block timeout in seconds - 0 disables the ttl, default `24h`. Accept common units like s, h, d, w.
pattern:"^[0-9A-Za-z]+$"
patternErrorMessage:Must be a valid block timeout - number with an optional unit
required:true
- id:CODEX_LOG_LEVEL
target:
type:environment
name:CODEX_LOG_LEVEL
service:codex-node
title:CODEX_LOG_LEVEL
description:>-
Sets the log level, default = `info`. Available options:`info`, `warn`, `error`, `debug`, `trace`. Check the [docs](https://docs.codex.storage/learn/run#logging) for more details.