mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 13:24:01 +01:00
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.
This commit is contained in:
parent
727179037e
commit
dbf3ac4a9c
@ -42,6 +42,8 @@ ENV BITCOIN_NODE_PORT 8332
|
|||||||
ENV BITCOIN_NODE_USER bitcoinuser
|
ENV BITCOIN_NODE_USER bitcoinuser
|
||||||
ENV BITCOIN_NODE_PASS bitcoinpass
|
ENV BITCOIN_NODE_PASS bitcoinpass
|
||||||
ENV TX_PER_SECOND_SPAN_SECONDS 150
|
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/ && \
|
RUN cd /mempool.space/frontend/ && \
|
||||||
npm run build && \
|
npm run build && \
|
||||||
|
Loading…
Reference in New Issue
Block a user