From dbf3ac4a9c109a1740f875f6af971d5bf3db6306 Mon Sep 17 00:00:00 2001 From: rbrooklyn <11929484+rbrooklyn@users.noreply.github.com> Date: Sun, 16 Feb 2020 10:20:36 +0000 Subject: [PATCH] Add BACKEND_API and ELECTRS_API_URL ENV lines Adds BACKEND_API and ELECTRS_API_URL environment variables which will be populated into backend/mempool-config.json on startup. This will allow docker users to easily switch to electrs mode and specify a server if they have a need to do so. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1255e120a..5a93ec84f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,6 +42,8 @@ ENV BITCOIN_NODE_PORT 8332 ENV BITCOIN_NODE_USER bitcoinuser ENV BITCOIN_NODE_PASS bitcoinpass ENV TX_PER_SECOND_SPAN_SECONDS 150 +ENV BACKEND_API bitcoind +ENV ELECTRS_API_URL https://www.blockstream.info/api RUN cd /mempool.space/frontend/ && \ npm run build && \