1
0

bump mempool to v2.5.0 (#775)

* bump mempool to v2.5.0

* bump mempool to v2.5.0

* add mempool Lightning Explorer Support

just for local testing so far. Hopefully thats how it can be done.

* bump mariadb to 10.11

as there is no Dockerfile folder for just 10.

* fix strange docker-compose boolean problem

* rpc-file-mode=0666 for c-lightning socket

beware that this change is a risk when run outside a container.

* hopefully fix writable cache dir error

* remove mempool_api_datadir cache folder

* enable lightning for gui of mempool

* fix typo

* try readonly.macraoon instead of admin

* correct REST API URL and port

* fixed LND_REST Proto to http; increased LND_TIMEOUT because of errors on RPI
This commit is contained in:
Markus Petzsch
2023-05-23 07:46:00 +02:00
committed by GitHub
parent bf22e49f18
commit b3ece8c4cc
5 changed files with 49 additions and 24 deletions

View File

@@ -17,6 +17,7 @@ services:
bitcoin-rpcconnect=bitcoind
experimental-offers
database-upgrade=true
rpc-file-mode=0666
volumes:
- "clightning_bitcoin_datadir:/root/.lightning"
- "bitcoin_datadir:/etc/bitcoin"
@@ -94,6 +95,18 @@ services:
expose:
- "3000"
mempool_api:
environment:
LIGHTNING_ENABLED: "true"
LIGHTNING_BACKEND: "cln"
CLIGHTNING_SOCKET: "/etc/lightning/lightning-rpc"
volumes:
- "clightning_bitcoin_datadir:/etc/lightning"
mempool_web:
environment:
LIGHTNING: "true"
btcpayserver:
environment:
BTCPAY_BTCLIGHTNING: "type=clightning;server=unix://etc/clightning_bitcoin/lightning-rpc"

View File

@@ -103,6 +103,21 @@ services:
volumes:
- "lnd_bitcoin_datadir:/lnd"
mempool_api:
environment:
LIGHTNING_ENABLED: "true"
LIGHTNING_BACKEND: "lnd"
LND_TLS_CERT_PATH: "/etc/lnd/tls.cert"
LND_MACAROON_PATH: "/etc/lnd/readonly.macaroon"
LND_REST_API_URL: "http://lnd_bitcoin:8080"
LND_TIMEOUT: 1000000
volumes:
- "lnd_bitcoin_datadir:/etc/lnd"
mempool_web:
environment:
LIGHTNING: "true"
volumes:
lnd_bitcoin_datadir:
lndloop_bitcoin_datadir:

View File

@@ -9,7 +9,7 @@ services:
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
rpcauth=mempool:d77ee0acf132038f6aaa9d4500d745ec$$72cc78dcf18191c91d10c15ff8f7c3dbbd170c4d3107cca35d71c6bf96af2ed9
mempool_web:
image: mempool/frontend:v2.5.0-dev1
image: mempool/frontend:v2.5.0
restart: on-failure
stop_grace_period: 1m
command: "./wait-for mempool_db:3306 --timeout=720 -- nginx -g 'daemon off;'"
@@ -20,12 +20,10 @@ services:
BACKEND_MAINNET_HTTP_HOST: "mempool_api"
mempool_api:
image: mempool/backend:v2.5.0-dev1
image: mempool/backend:v2.5.0
restart: on-failure
stop_grace_period: 1m
command: "./wait-for-it.sh mempool_db:3306 --timeout=720 --strict -- ./start.sh"
volumes:
- mempool_api_datadir:/backend/cache
expose:
- "8999"
environment:
@@ -45,7 +43,7 @@ services:
DATABASE_PASSWORD: "mempool"
mempool_db:
image: mariadb:10.5.8
image: mariadb:10.11
restart: on-failure
expose:
- "3306"
@@ -63,7 +61,6 @@ services:
volumes:
mempool_db_datadir:
mempool_api_datadir:
required:
- "opt-add-electrumx"