mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(production): Updating defaults
This commit is contained in:
@@ -47,6 +47,7 @@ USER safeuser
|
||||
WORKDIR /home/safeuser
|
||||
RUN git clone https://github.com/Permissionless-Software-Foundation/bch-api
|
||||
WORKDIR /home/safeuser/bch-api
|
||||
RUN git checkout ct-unstable
|
||||
RUN npm install --silent
|
||||
|
||||
# Generate documentation
|
||||
|
||||
@@ -26,8 +26,6 @@ export SLPDB_WHITELIST_URL=http://172.17.0.1:12300/
|
||||
export SLP_API_URL=http://10.0.0.5:5001/
|
||||
|
||||
# Mainnet Fulcrum / ElectrumX
|
||||
export FULCRUM_URL=172.17.0.1
|
||||
export FULCRUM_PORT=50002
|
||||
export FULCRUM_API=http://172.17.0.1:3001/v1/
|
||||
|
||||
# Redis DB - Used for rate limiting
|
||||
@@ -40,7 +38,7 @@ export REDIS_HOST=172.17.0.1
|
||||
export TOKENSECRET=somelongsecretvalue
|
||||
|
||||
# So that bch-api can call bch-js locally.
|
||||
export LOCAL_RESTURL=http://127.0.0.1:3000/v4/
|
||||
export LOCAL_RESTURL=http://127.0.0.1:3000/v5/
|
||||
|
||||
# Basic Authentication password
|
||||
export PRO_PASS=somerandomepassword:someotherrandompassword:aThirdPassword
|
||||
@@ -65,6 +63,11 @@ export LOG_MAX_SIZE=1m
|
||||
#5d means store no more than 5 days
|
||||
export LOG_MAX_FILES=5d
|
||||
|
||||
# (Optional) bcash full node
|
||||
export BCASH_SERVER=http://localhost:3002/
|
||||
|
||||
# psf-slp-indexer
|
||||
#export SLP_INDEXER_API=https://psf-slp-indexer.fullstack.cash/
|
||||
export SLP_INDEXER_API=http://172.17.0.1:5010/
|
||||
|
||||
npm start
|
||||
|
||||
Reference in New Issue
Block a user