mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
Updating docker example shell script
This commit is contained in:
@@ -16,9 +16,10 @@ export RPC_USERNAME=bitcoin
|
|||||||
export RPC_PASSWORD=password
|
export RPC_PASSWORD=password
|
||||||
|
|
||||||
# SLPDB
|
# SLPDB
|
||||||
|
export SLPDB_PASS_GP=somelongpassword
|
||||||
export SLPDB_URL=http://172.17.0.1:12300/
|
export SLPDB_URL=http://172.17.0.1:12300/
|
||||||
export SLPDB_PASS=somelongpassword
|
|
||||||
# Use the same address as SLPDB_URL if you don't have a separate whitelist server.
|
# Use the same address as SLPDB_URL if you don't have a separate whitelist server.
|
||||||
|
export SLPDB_PASS_WL=somelongpassword
|
||||||
export SLPDB_WHITELIST_URL=http://172.17.0.1:12300/
|
export SLPDB_WHITELIST_URL=http://172.17.0.1:12300/
|
||||||
# slp-api alternative SLP validator using slp-validate:
|
# slp-api alternative SLP validator using slp-validate:
|
||||||
# https://github.com/Permissionless-Software-Foundation/slp-api
|
# https://github.com/Permissionless-Software-Foundation/slp-api
|
||||||
@@ -54,4 +55,10 @@ export ANON_RATE_LIMIT=50
|
|||||||
# 10 = 100 RPM
|
# 10 = 100 RPM
|
||||||
export WHITELIST_RATE_LIMIT=10
|
export WHITELIST_RATE_LIMIT=10
|
||||||
|
|
||||||
|
# Set logging parameters
|
||||||
|
#1m means no more than 1 megabyte
|
||||||
|
export LOG_MAX_SIZE=1m
|
||||||
|
#5d means store no more than 5 days
|
||||||
|
export LOG_MAX_FILES=5d
|
||||||
|
|
||||||
npm start
|
npm start
|
||||||
|
|||||||
Reference in New Issue
Block a user