Improving style
This commit is contained in:
parent
ecdad65266
commit
1e4d5a31df
|
@ -15,7 +15,7 @@ cd nwaku-compose
|
|||
|
||||
Edit the environment variables present at the beginning of the `docker-compose.yml` file.
|
||||
|
||||
It is required to set the `ETH_CLIENT_ADDRESS` environment variable before starting the instance.
|
||||
It is required to set the `ETH_CLIENT_ADDRESS` environment variable within the `docker-compose.yml` file before starting the instance.
|
||||
|
||||
`ETH_CLIENT_ADDRESS` must be a WebSockets URL for your Ethereum Node.
|
||||
For the current default contract, it must be a node for the Sepolia network.
|
||||
|
@ -42,7 +42,7 @@ There are multiple environment variables you can configure to modify behaviour o
|
|||
* `NWAKU_IMAGE` - the image you want to use for the nwaku container (e.g. `NWAKU_IMAGE=statusteam/nim-waku:v0.19.0-rc.0`)
|
||||
* `DOMAIN` - domain name pointing to the IP address of your node, when configured the run script will request SSL certs from Let's Encrypt and run Waku node with WebSockets Secure (WSS) options enabled (e.g. `DOMAIN=waku.example.com`)
|
||||
* `NODEKEY` - this env variable allows you to provide a node key as described in [operators documentation](https://github.com/waku-org/nwaku/blob/master/docs/operators/how-to/configure-key.md) (e.g. `NODEKEY=9f439983aa4851346cfe6e17585e426f482871a43626812e23490895cd602c11`)
|
||||
* `RLN_RELAY_CONTRACT_ADDRESS` - address of the RLN Relay Contract. It defaults to `0xF471d71E9b1455bBF4b85d475afb9BB0954A29c4` on Sepolia testnet
|
||||
* `RLN_RELAY_CONTRACT_ADDRESS` - address of the RLN Relay Contract. It defaults to a Sepolia testnet address
|
||||
* `ETH_CLIENT_ADDRESS` (**mandatory**) - URL to a WebSockets Ethereum node URL on the same network as the contract address. If you're not running your own node, you can get the URL at Infura with the following [instructions](https://docs.infura.io/networks/ethereum/how-to/choose-a-network)
|
||||
* `RLN_RELAY_CRED_PATH` - path for peristing rln-relay credential
|
||||
* `RLN_RELAY_CRED_PASSWORD` - password for encrypting RLN credentials
|
||||
|
|
|
@ -87,9 +87,9 @@ exec /usr/bin/wakunode\
|
|||
--rln-relay-eth-contract-address="${RLN_RELAY_CONTRACT_ADDRESS}"\
|
||||
--rln-relay-eth-client-address="${ETH_CLIENT_ADDRESS}"\
|
||||
--rln-relay-tree-path="/etc/rln_tree"\
|
||||
${DNS_WSS_CMD}\
|
||||
${NODEKEY}\
|
||||
${RLN_RELAY_CRED_PATH}\
|
||||
${RLN_RELAY_CRED_PASSWORD}\
|
||||
${DNS_WSS_CMD}\
|
||||
${NODEKEY}\
|
||||
${EXTRA_ARGS}
|
||||
|
||||
|
|
Loading…
Reference in New Issue