Skip to content

Commit 4a57828

Browse files
committed
docs: document Reth port and log level variables in env files
1 parent a7f7dd0 commit 4a57828

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.env.mainnet

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,21 @@ STATSD_ADDRESS="172.17.0.1"
120120
# 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/).
121121
# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days).
122122
# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000"
123+
124+
# RETH PORT CONFIGURATION (OPTIONAL - OVERRIDE TO CHANGE DEFAULTS)
125+
# ---------------------------------------------------------------
126+
# These variables override the default ports used by the Reth execution client.
127+
# Only set these if you need to run multiple nodes or have port conflicts.
128+
# RPC_PORT=8545 # HTTP JSON-RPC port (default: 8545)
129+
# WS_PORT=8546 # WebSocket JSON-RPC port (default: 8546)
130+
# AUTHRPC_PORT=8551 # Authenticated RPC port for engine API (default: 8551)
131+
# METRICS_PORT=6060 # Prometheus metrics port (default: 6060)
132+
# DISCOVERY_PORT=30303 # P2P discovery port (default: 30303)
133+
# V5_DISCOVERY_PORT=9200 # discv5 discovery port (default: 9200)
134+
# P2P_PORT=30303 # P2P TCP port (default: 30303)
135+
136+
# RETH LOG LEVEL (OPTIONAL - OVERRIDE TO CHANGE DEFAULT)
137+
# ------------------------------------------------------
138+
# Controls Reth execution client log verbosity.
139+
# Supported values: error, warn, info, debug, trace (default: info)
140+
# LOG_LEVEL=info

.env.sepolia

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,21 @@ STATSD_ADDRESS="172.17.0.1"
120120
# 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/).
121121
# NOTE: The pruned snapshots provided are set with a distance of 1_339_200 (~31 days).
122122
# RETH_PRUNING_ARGS="--prune.senderrecovery.distance=50000 --prune.transactionlookup.distance=50000 --prune.receipts.distance=50000 --prune.accounthistory.distance=50000 --prune.storagehistory.distance=50000 --prune.bodies.distance=50000"
123+
124+
# RETH PORT CONFIGURATION (OPTIONAL - OVERRIDE TO CHANGE DEFAULTS)
125+
# ---------------------------------------------------------------
126+
# These variables override the default ports used by the Reth execution client.
127+
# Only set these if you need to run multiple nodes or have port conflicts.
128+
# RPC_PORT=8545 # HTTP JSON-RPC port (default: 8545)
129+
# WS_PORT=8546 # WebSocket JSON-RPC port (default: 8546)
130+
# AUTHRPC_PORT=8551 # Authenticated RPC port for engine API (default: 8551)
131+
# METRICS_PORT=6060 # Prometheus metrics port (default: 6060)
132+
# DISCOVERY_PORT=30303 # P2P discovery port (default: 30303)
133+
# V5_DISCOVERY_PORT=9200 # discv5 discovery port (default: 9200)
134+
# P2P_PORT=30303 # P2P TCP port (default: 30303)
135+
136+
# RETH LOG LEVEL (OPTIONAL - OVERRIDE TO CHANGE DEFAULT)
137+
# ------------------------------------------------------
138+
# Controls Reth execution client log verbosity.
139+
# Supported values: error, warn, info, debug, trace (default: info)
140+
# LOG_LEVEL=info

0 commit comments

Comments
 (0)