diff --git a/Dockerfile b/Dockerfile index d88e89f..ef26280 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ # Use a multi-stage build to combine the specific images -FROM mempool/frontend:v2.5.1 AS frontend -FROM mempool/backend:v2.5.1 AS backend +FROM mempool/frontend:v3.0.0-rc1 AS frontend +FROM mempool/backend:v3.0.0-rc1 AS backend FROM mariadb:10.5.8 AS db -FROM node:16.16.0-buster-slim AS runner +FROM node:lts-buster-slim AS runner -ENV MEMPOOL_CLEAR_PROTECTION_MINUTES "20" -ENV MEMPOOL_INDEXING_BLOCKS_AMOUNT "52560" -ENV MEMPOOL_STDOUT_LOG_MIN_PRIORITY "info" -ENV LIGHTNING_STATS_REFRESH_INTERVAL 3600 -ENV LIGHTNING_GRAPH_REFRESH_INTERVAL 3600 +ENV MEMPOOL_CLEAR_PROTECTION_MINUTES="20" +ENV MEMPOOL_INDEXING_BLOCKS_AMOUNT="52560" +ENV MEMPOOL_STDOUT_LOG_MIN_PRIORITY="info" +ENV LIGHTNING_STATS_REFRESH_INTERVAL=3600 +ENV LIGHTNING_GRAPH_REFRESH_INTERVAL=3600 USER root # arm64 or amd64 diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh index 84f15e2..bff6c1e 100755 --- a/docker_entrypoint.sh +++ b/docker_entrypoint.sh @@ -14,6 +14,8 @@ LIGHTNING_DETECTED_PORT=9735 __MEMPOOL_BACKEND_MAINNET_HTTP_HOST__=${BACKEND_MAINNET_HTTP_HOST:=127.0.0.1} __MEMPOOL_BACKEND_MAINNET_HTTP_PORT__=${BACKEND_MAINNET_HTTP_PORT:=8999} __MEMPOOL_FRONTEND_HTTP_PORT__=${FRONTEND_HTTP_PORT:=8080} +__ACCELERATOR_BUTTON__=true +__SERVICES_API__="https://mempool.embassy/api/v1/services" sed -i "s/__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__/${__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__}/g" /etc/nginx/conf.d/nginx-mempool.conf sed -i "s/__MEMPOOL_BACKEND_MAINNET_HTTP_PORT__/${__MEMPOOL_BACKEND_MAINNET_HTTP_PORT__}/g" /etc/nginx/conf.d/nginx-mempool.conf @@ -32,6 +34,7 @@ HOST_IP=$(ip -4 route list match 0/0 | awk '{print $3}') bitcoind_user=$(yq e '.bitcoin-user' /root/start9/config.yaml) bitcoind_pass=$(yq e '.bitcoin-password' /root/start9/config.yaml) bitcoind_host="bitcoind.embassy" +__MEMPOOL_SERVICES_API__="https://mempool.embassy/api/v1/services" sed -i "s/CORE_RPC_HOST:=127.0.0.1/CORE_RPC_HOST:=$bitcoind_host/" start.sh sed -i "s/CORE_RPC_USERNAME:=mempool/CORE_RPC_USERNAME:=$bitcoind_user/" start.sh diff --git a/manifest.yaml b/manifest.yaml index 28a3134..fd16d37 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,8 +1,8 @@ id: mempool title: Mempool -version: 2.5.1.2 +version: 3.0.0 release-notes: | - * Bumps version bounds for LND + * Exciting new version which adds the Mempool Accelerator among other improvements and bugfixes. Check out the full [release notes](https://github.com/mempool/mempool/releases/tag/v3.0.0). license: AGPL wrapper-repo: "https://github.com/Start9Labs/mempool-wrapper" upstream-repo: "https://github.com/mempool/mempool" @@ -74,20 +74,20 @@ dependencies: auto-configure: type: script electrs: - version: ">=0.9.6 <0.11.0" + version: ">=0.9.6 <0.12.0" requirement: type: "opt-out" how: Set Enable Electrs to Disabled in the config description: Used to provide an index for address lookups lnd: - version: ">=0.14.3 <0.19.0" + version: ">=0.14.3 <0.20.0" description: Used to communicate with the Lightning Network. requirement: type: "opt-in" how: Use the LND instance by default config: ~ c-lightning: - version: ">=0.10.1 <25.0.0" + version: ">=0.10.1 <26.0.0" description: Used to communicate with the Lightning Network. requirement: type: "opt-in"