mirror of
https://github.com/codex-storage/codex-testnet-starter.git
synced 2025-02-23 15:48:18 +00:00
Use ETH_PRIVATE_KEY variable instead of deprecated PRIV_KEY (#38)
https://github.com/codex-storage/nim-codex/pull/982
This commit is contained in:
parent
3293fb1f05
commit
ee1112a5f9
@ -111,7 +111,7 @@ The above options allow you to join the testnet, exchange data, and purchase sto
|
||||
> - prover
|
||||
> ```
|
||||
> 📢 The Codex docker container will automatically find the public IP and use it. You can override this behavior by removing `NAT_PUBLIC_IP_AUTO` and setting `CODEX_NAT` manually.
|
||||
> 📢 When running in a container, option `--eth-private-key` can't be set to a key file outside of your container. To solve this, set the environment variable `PRIV_KEY` to the content of your private key file. Scripting inside the docker container will automatically write this to a file in the container, set the correct permissions, and pass it to Codex.
|
||||
> 📢 When running in a container, option `--eth-private-key` can't be set to a key file outside of your container. To solve this, set the environment variable `ETH_PRIVATE_KEY` to the content of your private key file. Scripting inside the docker container will automatically write this to a file in the container, set the correct permissions, and pass it to Codex.
|
||||
|
||||
> 📢 Are you using Windows, and the "/" characters in the listen-addrs are giving you trouble?
|
||||
> In some shells, Windows will interpret "/" character as refering to "C:/" or the current working directory.
|
||||
|
@ -23,7 +23,7 @@ services:
|
||||
- NAT_PUBLIC_IP_AUTO=https://ip.codex.storage
|
||||
- CODEX_ETH_PROVIDER=https://rpc.testnet.codex.storage/
|
||||
- CODEX_VALIDATOR=false
|
||||
- PRIV_KEY=<<<PRIVATE_KEY_HERE>>>
|
||||
- ETH_PRIVATE_KEY=<<<PRIVATE_KEY_HERE>>>
|
||||
ports:
|
||||
- 8080:8080/tcp # API
|
||||
- 8090:8090/udp # Discovery
|
||||
|
Loading…
x
Reference in New Issue
Block a user