diff --git a/docker/mainnet/start-local-mainnet.sh b/docker/mainnet/start-local-mainnet.sh new file mode 100755 index 0000000..97d08ad --- /dev/null +++ b/docker/mainnet/start-local-mainnet.sh @@ -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 diff --git a/docker/testnet/start-local-testnet.sh b/docker/testnet/start-local-testnet.sh new file mode 100755 index 0000000..f51b15d --- /dev/null +++ b/docker/testnet/start-local-testnet.sh @@ -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 diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..dcaa432 --- /dev/null +++ b/docs/README.md @@ -0,0 +1 @@ +This directory holds api docs generated by apidoc.