-
1- download/install docker 1.12+ and docker-compose 1.8+
-
2- [Optional] unless you don't mind to run docker-compose by using
sudo
, please grant your current user with docker group permission:
sudo gpasswd -a $(whoami) docker
- reboot your computer.
This orchestation uses three dockers:
*The Public Node which has enabled insight web/api, with out https certs. *The Private Node which has a limited network access and limited plugins for security purposes. *The Wallet Which is the BWS service and should be configured to talk with your public NODE.
You are able to run all this dockers in one server, also you can run each docker-compose on a different server.
Each docker-compose works with different branches, master is for livenet and testnet well is for testnet.
- 1- clone this repo
git clone [email protected]:interactar/bitcoredfullnode.git
- 2- cd bitcoredfullnode
cd bitcoredfullnode
docker-compose up
docker-compose -f docker-compose-livenet.yml up
docker-compose -f docker-compose-publicNode.yml up
docker-compose -f docker-compose-publicNode-livenet.yml up
[ OPTIONAL ] Before you run,please place your pem and key files under ./bitcoreroot and then configure nodecfg/public_bitcore-node.json settings to fit your key and pem files: "key": "./xxxxxxxxx.key", "cert": "./xxxxxxxxx.pem"
If you need to run bitcored with a wallet service, please run:
This flavor comes with copay up and running, that way you can test your overall setup by browsing http://0.0.0.0:8081
docker-compose -f docker-compose-walletservice.yml up
###Before you run, please configure walletcfg/config.js settings to fit your setup:
You should modify the "blockchainExplorerOpts" block by replacing the url: 'https://xxxxxxxxxxxxx.com:3001/insight'
setting with your public full node url address.
docker-compose -f docker-compose-walletservice-livenet.yml up
- How to start working with testnet? get some bitcoin testnet from https://testnet.manu.backend.hamburg/faucet