From d190f7b96b9da963362990fb7bd86b6e67b785be Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 10 Feb 2025 03:17:11 -0700 Subject: [PATCH] Switch to a different explorer backend --- bitcoin/core/entrypoint.sh | 1 + bitcoin/explorer/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bitcoin/core/entrypoint.sh b/bitcoin/core/entrypoint.sh index 017e76f..c2f0239 100644 --- a/bitcoin/core/entrypoint.sh +++ b/bitcoin/core/entrypoint.sh @@ -4,6 +4,7 @@ echo "prune=$PRUNE" >> /btc.conf echo "txindex=$TXINDEX" >> /btc.conf echo "coinstatsindex=$TXINDEX" >> /btc.conf echo "datadir=/data" >> /btc.conf +echo "rest=1" >> /btc.conf if [ $REGTEST == 1 ] then diff --git a/bitcoin/explorer/Dockerfile b/bitcoin/explorer/Dockerfile index b5baaf6..eb33f7b 100644 --- a/bitcoin/explorer/Dockerfile +++ b/bitcoin/explorer/Dockerfile @@ -11,12 +11,12 @@ RUN echo node > /root/.nvmrc RUN nvm install node && nvm install 20 && nvm use 20 WORKDIR /app -RUN git clone https://github.com/janoside/btc-rpc-explorer explorer +RUN git clone https://github.com/Blockstream/esplora explorer WORKDIR /app/explorer RUN npm install -EXPOSE 3002 +EXPOSE 80 WORKDIR / ADD ./entrypoint.sh /entrypoint.sh RUN chmod +x entrypoint.sh