Skip to content

Commit b2614b0

Browse files
Update README.md
explain how to set custom env variables in README
1 parent 97fb39a commit b2614b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,12 @@ For support please join our [Discord](https://discord.gg/buildonbase) post in `
143143
THE NODE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. We make no guarantees about asset protection or security. Usage is subject to applicable laws and regulations.
144144

145145
For more information, visit [docs.base.org](https://docs.base.org/).
146+
147+
## Configuring Environment Variables
148+
149+
If you need to customize data directories, ports or network settings, copy `.env.mainnet` to a new file and adjust the variables:
150+
151+
```sh
152+
cp .env.mainnet .env.custom
153+
echo "HOST_DATA_DIR=/custom/data/path" >> .env.custom
154+
echo "PORT_RPC=18545" >> .env.custom

0 commit comments

Comments
 (0)