Skip to content

Commit

Permalink
udpate to upstream 3.0.0-rc1 and bump dep versions
Browse files Browse the repository at this point in the history
  • Loading branch information
elvece committed Aug 21, 2024
1 parent 833862b commit 1607e90
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 1607e90

Please sign in to comment.