This package makes it easy to deploy a bitcoin node in a DAppNode, for this purpose the bitcoind daemon is used.
-
git
Install git commandline tool.
-
docker
Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group,
sudo usermod -aG docker $USER
. Once you update the users group, exit from the current terminal and open a new one to make effect. -
docker-compose
Install docker-compose
Note: Make sure you can run git
, docker ps
, docker-compose
without any issue and without sudo command.
docker-compose build
docker-compose up -d
docker-compose logs -f
docker-compose down
You can edit the docker-compose.yml
and add extra options, such as:
| name | default |
| ---- | ------- |
| BTC_RPCUSER | dappnode |
| BTC_RPCPASSWORD | dappnode |
| BTC_TXINDEX | 0 |
| BTC_PRUNE | 0 |
| BTC_DISABLEWALLET | 1 |
by default BTC_TXINDEX is 0, but the installation of the DAppNodePackage will set this value to 1, since it's a recommended value for other applications. BTC_PRUNE is 0 by default. Enable blockchain prunning by setting it to a
value larger than 550 (550Mb) , for example BTC_PRUNE=30000 to maintain only 30Gb of full blockchain data.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details
This is early stage software