mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(env vars): Adding new env vars to example shell script
This commit is contained in:
@@ -33,6 +33,8 @@ export SLP_API_URL=http://10.0.0.5:5001/
|
|||||||
# Mainnet Fulcrum / ElectrumX
|
# Mainnet Fulcrum / ElectrumX
|
||||||
export FULCRUM_URL=192.168.0.6
|
export FULCRUM_URL=192.168.0.6
|
||||||
export FULCRUM_PORT=50002
|
export FULCRUM_PORT=50002
|
||||||
|
# Fulcrum API (used for /v5+ routes)
|
||||||
|
export FULCRUM_API=http://172.17.0.1:3001/v1/
|
||||||
|
|
||||||
# Redis DB - Used for rate limiting - customize to your own Redis installation.
|
# Redis DB - Used for rate limiting - customize to your own Redis installation.
|
||||||
export REDIS_PORT=6379
|
export REDIS_PORT=6379
|
||||||
@@ -53,6 +55,8 @@ export PRO_PASS=somerandomepassword:someotherrandompassword:aThirdPassword
|
|||||||
# that originate froma domain on the whitelist.
|
# that originate froma domain on the whitelist.
|
||||||
export WHITELIST_DOMAINS=fullstack.cash,psfoundation.cash,torlist.cash
|
export WHITELIST_DOMAINS=fullstack.cash,psfoundation.cash,torlist.cash
|
||||||
|
|
||||||
|
# Uncomment the line below if you do not want to use rate limits
|
||||||
|
#export export DO_NOT_USE_RATE_LIMITS=1
|
||||||
# Rate Limits. Numbers are divided into 1000. e.g. 10000 / 500 = 20 RPM for ANON.
|
# Rate Limits. Numbers are divided into 1000. e.g. 10000 / 500 = 20 RPM for ANON.
|
||||||
# Requests use the ANON rate limit if they fail to pass in a JWT token.
|
# Requests use the ANON rate limit if they fail to pass in a JWT token.
|
||||||
# ANON = 20 requests per minute (RPM)
|
# ANON = 20 requests per minute (RPM)
|
||||||
@@ -66,4 +70,7 @@ export LOG_MAX_SIZE=1m
|
|||||||
#5d means store no more than 5 days
|
#5d means store no more than 5 days
|
||||||
export LOG_MAX_FILES=5d
|
export LOG_MAX_FILES=5d
|
||||||
|
|
||||||
|
# (Optional) if using a bcash node, set this variable. Otherwise leave it as-is.
|
||||||
|
export BCASH_SERVER=http://localhost
|
||||||
|
|
||||||
npm start
|
npm start
|
||||||
|
|||||||
Reference in New Issue
Block a user