Browse Source

Update bitfeed app to v2.2.0 (#1275)

rtl-0.12.1
Mononaut 3 years ago
committed by GitHub
parent
commit
9621cfce9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      apps/bitfeed/docker-compose.yml
  2. 4
      apps/registry.json
  3. 2
      scripts/configure
  4. 1
      templates/.env-sample
  5. 1
      templates/bitcoin-sample.conf

5
apps/bitfeed/docker-compose.yml

@ -2,7 +2,7 @@ version: "3.7"
services:
web:
image: ghcr.io/bitfeed-project/bitfeed-client:v2.1.5@sha256:36155dc32d423b07519515fda7cfa204e5abeb978a03cf4e27e993b10b585426
image: ghcr.io/bitfeed-project/bitfeed-client:v2.2.0@sha256:050c4e7c7744a856fbd49758db046c4dfead40d39a0719f35b3918e9f778b074
restart: on-failure
stop_grace_period: 1m
depends_on:
@ -18,7 +18,7 @@ services:
ipv4_address: $APP_BITFEED_IP
api:
image: ghcr.io/bitfeed-project/bitfeed-server:v2.1.5@sha256:26c15a003ae3848bd1c3dd5d25279ef7c7bb6bbaeeeda615121e6e12754a7f88
image: ghcr.io/bitfeed-project/bitfeed-server:v2.2.0@sha256:b04d9ef4f2c56bd25cd1cb6b33261a8716d6710d71c7e3c0388d12f2cc236e11
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
@ -27,6 +27,7 @@ services:
BITCOIN_HOST: "$BITCOIN_IP"
BITCOIN_ZMQ_RAWTX_PORT: "$BITCOIN_ZMQ_RAWTX_PORT"
BITCOIN_ZMQ_RAWBLOCK_PORT: "$BITCOIN_ZMQ_RAWBLOCK_PORT"
BITCOIN_ZMQ_SEQUENCE_PORT: "$BITCOIN_ZMQ_SEQUENCE_PORT"
BITCOIN_RPC_PORT: "$BITCOIN_RPC_PORT"
BITCOIN_RPC_USER: "$BITCOIN_RPC_USER"
BITCOIN_RPC_PASS: "$BITCOIN_RPC_PASS"

4
apps/registry.json

@ -285,9 +285,9 @@
"id": "bitfeed",
"category": "Explorers",
"name": "Bitfeed",
"version": "2.1.5",
"version": "2.2.0",
"tagline": "A live visualization of your node's mempool",
"description": "A self-hosted version of Bitfeed - the open source mempool & block visualizer available at https://bits.monospace.live. Watch as new transactions drop into your node's mempool, before being packaged into newly mined blocks. Monitor Bitcoin network activity, explore the composition of the latest block, or simply enjoy a soothing Bitcoin screensaver.",
"description": "A self-hosted version of Bitfeed - the open source mempool & block visualizer available at https://bits.monospace.live.\n\nWatch as new transactions drop into your node's mempool, before being packaged into newly mined blocks.\n\nMonitor Bitcoin network activity, explore the composition of the latest block, or simply enjoy a soothing Bitcoin screensaver.",
"developer": "Mononaut",
"website": "https://monospace.live",
"dependencies": [

2
scripts/configure

@ -119,6 +119,7 @@ BITCOIN_P2P_PORT="8333"
BITCOIN_ZMQ_RAWBLOCK_PORT="28332"
BITCOIN_ZMQ_RAWTX_PORT="28333"
BITCOIN_ZMQ_HASHBLOCK_PORT="28334"
BITCOIN_ZMQ_SEQUENCE_PORT="28335"
LND_IP="10.21.21.9"
LND_GRPC_PORT="10009"
LND_REST_PORT="8080"
@ -384,6 +385,7 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<zmq-rawblock-port>/${BITCOIN_ZMQ_RAWBLOCK_PORT}/g;" "${template}"
sed -i "s/<zmq-rawtx-port>/${BITCOIN_ZMQ_RAWTX_PORT}/g;" "${template}"
sed -i "s/<zmq-hashblock-port>/${BITCOIN_ZMQ_HASHBLOCK_PORT}/g;" "${template}"
sed -i "s/<zmq-sequence-port>/${BITCOIN_ZMQ_SEQUENCE_PORT}/g;" "${template}"
sed -i "s#<lndfeeurl>#${LND_FEE_URL}#g;" "${template}"
# Apps

1
templates/.env-sample

@ -14,6 +14,7 @@ BITCOIN_P2P_PORT=<port>
BITCOIN_ZMQ_RAWBLOCK_PORT=<zmq-rawblock-port>
BITCOIN_ZMQ_RAWTX_PORT=<zmq-rawtx-port>
BITCOIN_ZMQ_HASHBLOCK_PORT=<zmq-hashblock-port>
BITCOIN_ZMQ_SEQUENCE_PORT=<zmq-sequence-port>
BITCOIN_RPC_USER=<username>
BITCOIN_RPC_PASS=<password>
BITCOIN_RPC_AUTH=<rpcauth>

1
templates/bitcoin-sample.conf

@ -24,6 +24,7 @@ maxmempool=300
zmqpubrawblock=tcp://0.0.0.0:<zmq-rawblock-port>
zmqpubrawtx=tcp://0.0.0.0:<zmq-rawtx-port>
zmqpubhashblock=tcp://0.0.0.0:<zmq-hashblock-port>
zmqpubsequence=tcp://0.0.0.0:<zmq-sequence-port>
# Indexes
txindex=1

Loading…
Cancel
Save