☑️ENV Variables
Blockscout uses ENVs for setting hundreds of different parameters. Please see the various sections for ENV names, descriptions, default values and versioning.
You will find deprecated ENV vars on the Deprecated ENV Variables page.
Set ENV Variables with CLI
Use the export command to set variables. For example:
Required ENV variables
Please see the Backend ENVs page for details. Required variables are located in the General Management section and marked with a ✅
Example ENV Variables Set
The following variables are set for the Gnosis Chain Blockscout Instance. Note that some variables are not included as they contain private information which should not be exposed.
Time format
Can be set in format 1h
for 1 hour, 1m
for 1 minute, 1s
or 1
for 1 second, 1ms
for 1 millisecond
Note: Before release 5.1.2, all environment variables of time format supported only integers in seconds (without dimensions) as values.
Last updated