-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of /~https://github.com/christroutner/bch-api
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# test | ||
|
||
# Full node | ||
export RPC_BASEURL=http://172.17.0.1:8332/ | ||
export RPC_USERNAME=bitcoin | ||
export RPC_PASSWORD=password | ||
export NETWORK=mainnet | ||
|
||
# SLPDB | ||
export SLPDB_URL=http://172.17.0.1:12300/ | ||
export SLPDB_PASS=somelongpassword | ||
|
||
# Blockbook Indexer | ||
export BLOCKBOOK_URL=https://172.17.0.1:9131/ | ||
# Allow node.js to make network calls to https using self-signed certificate. | ||
export NODE_TLS_REJECT_UNAUTHORIZED=0 | ||
|
||
# Redis DB | ||
export REDIS_PORT=6379 | ||
export REDIS_HOST=172.17.0.1 | ||
|
||
# JWT Token Secret | ||
export TOKENSECRET=somelongsecretvalue | ||
|
||
npm start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
# Full node | ||
export RPC_BASEURL=http://172.17.0.1:18332/ | ||
export RPC_USERNAME=bitcoin | ||
export RPC_PASSWORD=password | ||
export NETWORK=testnet | ||
|
||
# SLPDB | ||
export SLPDB_URL=http://172.17.0.1:13300/ | ||
|
||
# Blockbook Indexer | ||
export BLOCKBOOK_URL=https://172.17.0.1:19131/ | ||
# Allow node.js to make network calls to https using self-signed certificate. | ||
export NODE_TLS_REJECT_UNAUTHORIZED=0 | ||
|
||
# Redis DB | ||
export REDIS_PORT=6380 | ||
export REDIS_HOST=172.17.0.1 | ||
|
||
# JWT Token Secret | ||
export TOKENSECRET=somelongsecretvalue | ||
|
||
npm start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This directory holds api docs generated by apidoc. |