doc: document .env file and docker-compose behaviour

This commit is contained in:
fryorcraken.eth 2023-12-13 12:13:57 +11:00
parent 286e10511e
commit 1a180da3a3
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
**/.DS_Store
.env
keystore
postgresql
rln_tree
rln_tree

View File

@ -20,6 +20,8 @@ export ETH_TESTNET_KEY=REPLACE_BY_YOUR_KEY
export KEYSTORE_PASSWORD=PICK_A_PASSWORD
```
`docker-compose` [will read the `./.env` file](https://docs.docker.com/compose/environment-variables/set-environment-variables/#additional-information-3) from the filesystem, so feel free to save these value in a `.env` file.
**🔑 1. Register RLN membership**
The RLN membership is your access key to The Waku Network. Its registration is done onchain, and allows your nwaku node to publish messages in a decentralized and private way, respecting some [rate limits](https://rfc.vac.dev/spec/64/#rate-limit-exceeded).