From b2614b09fe9567dc9ecb8a318a93644b40389779 Mon Sep 17 00:00:00 2001 From: Wesley Yan <39544037+wesleyylg928392839@users.noreply.github.com> Date: Mon, 26 Jan 2026 08:36:37 +0100 Subject: [PATCH] Update README.md explain how to set custom env variables in README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1cbaad17..ce54b0f9 100644 --- a/README.md +++ b/README.md @@ -143,3 +143,12 @@ For support please join our [Discord](https://discord.gg/buildonbase) post in ` 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. For more information, visit [docs.base.org](https://docs.base.org/). + +## Configuring Environment Variables + +If you need to customize data directories, ports or network settings, copy `.env.mainnet` to a new file and adjust the variables: + +```sh +cp .env.mainnet .env.custom +echo "HOST_DATA_DIR=/custom/data/path" >> .env.custom +echo "PORT_RPC=18545" >> .env.custom