Skip to content

Commit 40f1179

Browse files
erhnysrclaude
andcommitted
docs: document port and log level variables in env files
Operators who want to customise execution-client ports (e.g. to run multiple nodes or resolve port conflicts) or change log verbosity had no way to discover the supported variables without reading execution-entrypoint directly. Add commented-out PORT CONFIGURATION and LOG LEVEL sections to both .env.mainnet and .env.sepolia, listing all variables already supported by execution-entrypoint with their defaults: RPC_PORT, WS_PORT, AUTHRPC_PORT, METRICS_PORT, DISCOVERY_PORT, V5_DISCOVERY_PORT, P2P_PORT, LOG_LEVEL Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bfff3f4 commit 40f1179

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.env.mainnet

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ STATSD_ADDRESS="172.17.0.1"
4848
# FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE)
4949
# RETH_FB_WEBSOCKET_URL=wss://mainnet.flashblocks.base.org/ws
5050

51+
# PORT CONFIGURATION (OPTIONAL - UNCOMMENT TO OVERRIDE DEFAULTS)
52+
# ---------------------------------------------------------------
53+
# Override default ports when running multiple nodes or to resolve conflicts.
54+
# RPC_PORT=8545 # HTTP JSON-RPC port
55+
# WS_PORT=8546 # WebSocket JSON-RPC port
56+
# AUTHRPC_PORT=8551 # Engine API (authenticated RPC) port
57+
# METRICS_PORT=6060 # Prometheus metrics port
58+
# DISCOVERY_PORT=30303 # P2P discovery port
59+
# V5_DISCOVERY_PORT=9200 # discv5 discovery port
60+
# P2P_PORT=30303 # P2P TCP port
61+
62+
# LOG LEVEL (OPTIONAL - UNCOMMENT TO OVERRIDE DEFAULT)
63+
# -----------------------------------------------------
64+
# Supported values: error, warn, info, debug, trace (default: info)
65+
# LOG_LEVEL=info
66+
5167
# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE)
5268
# NOTE: Set to any number of blocks you want, but it should be >10064
5369
# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/).

.env.sepolia

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ STATSD_ADDRESS="172.17.0.1"
4848
# FLASHBLOCKS (OPTIONAL - UNCOMMENT TO ENABLE)
4949
# RETH_FB_WEBSOCKET_URL=wss://sepolia.flashblocks.base.org/ws
5050

51+
# PORT CONFIGURATION (OPTIONAL - UNCOMMENT TO OVERRIDE DEFAULTS)
52+
# ---------------------------------------------------------------
53+
# Override default ports when running multiple nodes or to resolve conflicts.
54+
# RPC_PORT=8545 # HTTP JSON-RPC port
55+
# WS_PORT=8546 # WebSocket JSON-RPC port
56+
# AUTHRPC_PORT=8551 # Engine API (authenticated RPC) port
57+
# METRICS_PORT=6060 # Prometheus metrics port
58+
# DISCOVERY_PORT=30303 # P2P discovery port
59+
# V5_DISCOVERY_PORT=9200 # discv5 discovery port
60+
# P2P_PORT=30303 # P2P TCP port
61+
62+
# LOG LEVEL (OPTIONAL - UNCOMMENT TO OVERRIDE DEFAULT)
63+
# -----------------------------------------------------
64+
# Supported values: error, warn, info, debug, trace (default: info)
65+
# LOG_LEVEL=info
66+
5167
# PRUNING (OPTIONAL - UNCOMMENT TO ENABLE)
5268
# NOTE: Set to any number of blocks you want, but it should be >10064
5369
# NOTE: The node type that was chosen when first running a node cannot be changed after the initial sync. Turning Archive into Pruned, or Pruned into Full is not supported [source](https://reth.rs/run/faq/pruning/).

0 commit comments

Comments
 (0)