Add esplora

This commit is contained in:
benthecarman
2023-04-07 21:55:18 -05:00
parent 512a9403b5
commit 4cb0cec7ed
3 changed files with 20 additions and 4 deletions

4
.gitmodules vendored
View File

@@ -1,3 +1,7 @@
[submodule "mutinynet-faucet"]
path = mutinynet-faucet
url = https://github.com/MutinyWallet/mutinynet-faucet.git
[submodule "electrs"]
path = electrs
url = https://github.com/MutinyWallet/electrs.git
branch = new-index

View File

@@ -24,6 +24,19 @@ services:
- "38332:38332"
- "38333:38333"
- "38334:38334"
electrs:
container_name: "electrs"
build:
context: ./electrs
user: "0:1000"
restart: always
stop_grace_period: 1m
environment:
FLAGS: '-vvvv --daemon-dir /root/.bitcoin/signet --daemon-rpc-addr bitcoin:38332 --timestamp --blocks-dir /root/.bitcoin/signet/blocks --cookie="bitcoin:$RPCPASSWORD" --db-dir /root/.electrs --network signet --http-addr 0.0.0.0:3003'
volumes:
- ~/volumes/electrs:/root/.electrs
ports:
- "3003:3003"
faucet:
container_name: "faucet"
build:
@@ -56,10 +69,8 @@ services:
api:
container_name: "mempool_backend"
environment:
MEMPOOL_BACKEND: "none"
# ELECTRUM_HOST: "electrs"
# ELECTRUM_PORT: "50001"
# ELECTRUM_TLS_ENABLED: "false"
MEMPOOL_BACKEND: "esplora"
ESPLORA_REST_API_URL: "http://electrs:3003"
CORE_RPC_HOST: "bitcoind"
CORE_RPC_PORT: "38332"
CORE_RPC_USERNAME: "bitcoin"

1
electrs Submodule

Submodule electrs added at 3b2d5027ab