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