Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine as binary

ARG VERSION=0.18.1
ARG VERSION=0.19.0.1

ENV FILENAME bitcoin-${VERSION}-x86_64-linux-gnu.tar.gz
ENV DOWNLOAD_URL https://bitcoin.org/bin/bitcoin-core-${VERSION}/${FILENAME}
ENV SHA256SUM 600d1db5e751fa85903e935a01a74f5cc57e1e7473c15fd3e17ed21e202cfe5a
ENV SHA256SUM 732cc96ae2e5e25603edf76b8c8af976fe518dd925f7e674710c6c8ee5189204

ADD $DOWNLOAD_URL /$FILENAME
RUN if [ x"$( sha256sum /${FILENAME} | awk '{print $1}' )" != x"${SHA256SUM}" ]; then \
Expand Down
32 changes: 11 additions & 21 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
{
"name": "bitcoin.dnp.dappnode.eth",
"version": "0.1.4",
"upstreamVersion": "0.18.1",
"version": "0.1.5",
"upstreamVersion": "0.19.0.1",
"shortDescription": "Support the Bitcoin network, run your own node",
"description": "The Bitcoin Core daemon (0.18.1). Bitcoind is a program that implements the Bitcoin protocol for remote procedure call (RPC) use.",
"avatar": "/ipfs/QmNrfF93ppvjDGeabQH8H8eeCDLci2F8fptkvj94WN78pt",
"description": "The Bitcoin Core daemon. Bitcoind is a program that implements the Bitcoin protocol for remote procedure call (RPC) use.",
"type": "service",
"image": {
"path": "bitcoin.dnp.dappnode.eth_0.1.4.tar.xz",
"hash": "/ipfs/QmTTxK66nEwisbMcojV4njjmGaG2diRZeKDdYw9vHWty4N",
"size": 9386518,
"restart": "always",
"ports": ["8333:8333"],
"volumes": ["bitcoin_data:/root/.bitcoin"],
"environment": [
"BTC_RPCUSER=dappnode",
"BTC_RPCPASSWORD=dappnode",
"BTC_TXINDEX=1",
"BTC_PRUNE=0"
]
},
"chain": "bitcoin",
"author": "DAppNode Association <admin@dappnode.io> (https://github.com/dappnode)",
"contributors": [
"Abel Boldú (@vdo)",
"Eduardo Antuña <eduadiez@gmail.com> (https://github.com/eduadiez)",
"Loco del Bitcoin <ellocodelbitcoin@gmail.com>"
],
"categories": ["Blockchain"],
"keywords": ["bitcoin", "btc"],
"categories": [
"Blockchain"
],
"keywords": [
"bitcoin",
"btc"
],
"links": {
"homepage": "https://github.com/dappnode/DAppNodePackage-bitcoin#readme"
},
Expand All @@ -40,4 +30,4 @@
"url": "https://github.com/dappnode/DAppNodePackage-bitcoin/issues"
},
"license": "GPL-3.0"
}
}
27 changes: 14 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
version: '3.4'
services:
bitcoin.dnp.dappnode.eth:
image: 'bitcoin.dnp.dappnode.eth:0.1.4'
build: ./build
volumes:
- 'bitcoin_data:/root/.bitcoin'
ports:
- '8333:8333'
environment:
- BTC_RPCUSER=dappnode
- BTC_RPCPASSWORD=dappnode
- BTC_TXINDEX=1
- BTC_PRUNE=0
bitcoin.dnp.dappnode.eth:
image: 'bitcoin.dnp.dappnode.eth:0.1.5'
build: ./build
volumes:
- 'bitcoin_data:/root/.bitcoin'
ports:
- '8333:8333'
environment:
- BTC_RPCUSER=dappnode
- BTC_RPCPASSWORD=dappnode
- BTC_TXINDEX=1
- BTC_PRUNE=0
restart: always
volumes:
bitcoin_data: {}
bitcoin_data: {}