Switch to a different explorer backend
This commit is contained in:
parent
e5fb3cbd35
commit
d190f7b96b
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue