You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup/env-variables/backend-env-variables.mdx
+18-9Lines changed: 18 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -562,17 +562,23 @@ Can be set in format `1h` for 1 hour, `1m` for 1 minute, `1s` or `1` for 1 secon
562
562
|`API_RATE_LIMIT_REMOTE_IP_HEADERS`| Comma separated list of HTTP headers to extract the real client IP address when Blockscout is behind a proxy for rate limiting purposes. Implemented in [#12386](https://github.com/blockscout/blockscout/pull/13082)| Version: v9.1.0\+ <br />Default: `x-forwarded-for` <br />Applications: API |
563
563
|`API_RATE_LIMIT_REMOTE_IP_KNOWN_PROXIES`| Comma separated list of trusted proxy IP addresses or CIDR ranges that are allowed to set the client IP headers for rate limiting. Implemented in [#12386](https://github.com/blockscout/blockscout/pull/13082)| Version: v9.1.0\+ <br />Default: `(empty)` <br />Applications: API |
564
564
|`ETH_JSON_RPC_MAX_BATCH_SIZE`| Max batch size for Eth JSON RPC requests. Implemented in [#9409](https://github.com/blockscout/blockscout/pull/9409)| Version: v6.3.0\+ <br />Default: `5` <br />Applications: API |
565
+
|`API_RATE_LIMIT_HAMMER_REDIS_SSL_ENABLED`| If `true` Blockscout will use SSL to connect to Redis DB for Hammer rate limit library. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901)| Version: master <br />Default: (empty) <br />Applications: API |
566
+
|`API_RATE_LIMIT_HAMMER_REDIS_SENTINEL_URLS`| List of Redis sentinel urls for Hammer rate limit library. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901)| Version: master <br />Default: (empty) <br />Applications: API |
567
+
|`API_RATE_LIMIT_HAMMER_REDIS_SENTINEL_MASTER_NAME`| Sentinel master name for Hammer rate limit library. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901)| Version: master <br />Default: (empty) <br />Applications: API |
|`RATE_LIMITER_REDIS_URL`| Redis DB URL for rate limiter. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: (empty) <br />Applications: API |
571
-
|`RATE_LIMITER_ON_DEMAND_TIME_INTERVAL`| Time interval of rate limit for on-demand fetchers. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `5s` <br />Applications: API |
572
-
|`RATE_LIMITER_ON_DEMAND_LIMIT_BY_IP`| Rate limit for an IP address for on-demand fetcher call. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `100` <br />Applications: API |
573
-
|`RATE_LIMITER_ON_DEMAND_EXPONENTIAL_TIMEOUT_COEFF`| Coefficient to calculate exponential timeout for on-demand rate limit. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `100` <br />Applications: API |
574
-
|`RATE_LIMITER_ON_DEMAND_MAX_BAN_INTERVAL`| Max time an IP address can be banned from on-demand fetcher calls. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `1h` <br />Applications: API |
575
-
|`RATE_LIMITER_ON_DEMAND_LIMITATION_PERIOD`| Time after which the number of bans for the IP address will be reset. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `1h` <br />Applications: API |
|`RATE_LIMITER_REDIS_URL`| Redis DB URL for rate limiter. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: (empty) <br />Applications: API |
574
+
|`RATE_LIMITER_ON_DEMAND_TIME_INTERVAL`| Time interval of rate limit for on-demand fetchers. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `5s` <br />Applications: API |
575
+
|`RATE_LIMITER_ON_DEMAND_LIMIT_BY_IP`| Rate limit for an IP address for on-demand fetcher call. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `100` <br />Applications: API |
576
+
|`RATE_LIMITER_ON_DEMAND_EXPONENTIAL_TIMEOUT_COEFF`| Coefficient to calculate exponential timeout for on-demand rate limit. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `100` <br />Applications: API |
577
+
|`RATE_LIMITER_ON_DEMAND_MAX_BAN_INTERVAL`| Max time an IP address can be banned from on-demand fetcher calls. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `1h` <br />Applications: API |
578
+
|`RATE_LIMITER_ON_DEMAND_LIMITATION_PERIOD`| Time after which the number of bans for the IP address will be reset. Implemented in [#12218](https://github.com/blockscout/blockscout/pull/12218)| Version: v8.0.0\+ <br />Default: `1h` <br />Applications: API |
579
+
|`RATE_LIMITER_REDIS_SSL_ENABLED`| If `true` Blockscout will use SSL to connect to Redis DB for rate limiter. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901)| Version: master <br />Default: (empty) <br />Applications: API |
580
+
|`RATE_LIMITER_REDIS_SENTINEL_URLS`| List of Redis sentinel urls for rate limiter. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901)| Version: master <br />Default: (empty) <br />Applications: API |
581
+
|`RATE_LIMITER_REDIS_SENTINEL_MASTER_NAME`| Sentinel master name for rate limiter. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901)| Version: master <br />Default: (empty) <br />Applications: API |
576
582
577
583
## GraphQL API
578
584
@@ -612,7 +618,10 @@ Can be set in format `1h` for 1 hour, `1m` for 1 minute, `1s` or `1` for 1 secon
612
618
|`ACCOUNT_WATCHLIST_NOTIFICATIONS_LIMIT_FOR_30_DAYS`| Per account limit for watch list notifications sent for the last 30 days. Implemented in [#8966](https://github.com/blockscout/blockscout/pull/8966). | Version: v5.3.3\+ <br />Default: `1000` <br />Applications: API |
613
619
|`ACCOUNT_OTP_RESEND_INTERVAL`| Time before resending otp email. Implemented in [#10706](https://github.com/blockscout/blockscout/pull/10706). | Version: v6.9.0\+ <br />Default: `1m` <br />Applications: API |
614
620
|`ACCOUNT_SIWE_MESSAGE`| Message for Sign In With Ethereum authentication. Implemented in [#11178](https://github.com/blockscout/blockscout/pull/11178). | Version: v6.9.1\+ <br />Default: `Sign in to Blockscout Account V2` <br />Applications: API |
615
-
|`ACCOUNT_DYNAMIC_ENV_ID`| Dynamic Environment ID, can be found here https://app.dynamic.xyz/dashboard/developer/api. Implemented in [#13786](https://github.com/blockscout/blockscout/pull/13786). | Version: v10.0.0\+ <br />Default: (empty) <br />Applications: API |
621
+
|`ACCOUNT_DYNAMIC_ENV_ID`| Dynamic Environment ID, can be found here https://app.dynamic.xyz/dashboard/developer/api. Implemented in [#13786](https://github.com/blockscout/blockscout/pull/13786). | Version: v10.0.0\+ <br />Default: (empty) <br />Applications: API |
622
+
|`ACCOUNT_REDIS_SSL_ENABLED`| If `true` Blockscout will use SSL to connect to Account Redis DB. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901). | Version: master <br />Default: (empty) <br />Applications: API |
623
+
|`ACCOUNT_REDIS_SENTINEL_URLS`| List of Account Redis sentinel urls. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901). | Version: master <br />Default: (empty) <br />Applications: API |
624
+
|`ACCOUNT_REDIS_SENTINEL_MASTER_NAME`| Account Sentinel master name. Implemented in [#13901](https://github.com/blockscout/blockscout/pull/13901). | Version: master <br />Default: (empty) <br />Applications: API |
0 commit comments