mirror of
https://github.com/Retropex/Bitcoin-store.git
synced 2025-05-12 19:00:42 +02:00
add cleanpool
This commit is contained in:
parent
23d5913063
commit
a0d8bed0de
0
btc-cleanpool/data/.gitkeep
Normal file
0
btc-cleanpool/data/.gitkeep
Normal file
89
btc-cleanpool/docker-compose.yml
Normal file
89
btc-cleanpool/docker-compose.yml
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app_proxy:
|
||||||
|
environment:
|
||||||
|
APP_HOST: $APP_MEMPOOL_IP
|
||||||
|
APP_PORT: $APP_MEMPOOL_PORT
|
||||||
|
PROXY_AUTH_ADD: "false"
|
||||||
|
AUDIT: "true"
|
||||||
|
MAINNET_BLOCK_AUDIT_START_HEIGHT: "840000"
|
||||||
|
web:
|
||||||
|
image: ghcr.io/retropex/mempoolfrontend@sha256:dda9a91a1cc745373f36f7d4644480b19f787fa09040e3a78404ce0e3416f556
|
||||||
|
user: "1000:1000"
|
||||||
|
init: true
|
||||||
|
restart: on-failure
|
||||||
|
stop_grace_period: 1m
|
||||||
|
command: "./wait-for mariadb:3306 --timeout=720 -- nginx -g 'daemon off;'"
|
||||||
|
environment:
|
||||||
|
FRONTEND_HTTP_PORT: $APP_MEMPOOL_PORT
|
||||||
|
BACKEND_MAINNET_HTTP_HOST: $APP_MEMPOOL_API_IP
|
||||||
|
NGINX_PORT: $APP_MEMPOOL_PORT
|
||||||
|
NGINX_HOSTNAME: $APP_MEMPOOL_API_IP
|
||||||
|
LIGHTNING_DETECTED_PORT: $APP_LIGHTNING_NODE_PORT
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: $APP_MEMPOOL_IP
|
||||||
|
api:
|
||||||
|
image: ghcr.io/retropex/mempoolbackend@sha256:56eadf56c9334c2e10e28019c34ba80cd3069abc44655c1150b93820b4f7042e
|
||||||
|
user: "1000:1000"
|
||||||
|
init: true
|
||||||
|
restart: on-failure
|
||||||
|
stop_grace_period: 1m
|
||||||
|
command: "./wait-for-it.sh mariadb:3306 --timeout=720 --strict -- ./start.sh"
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data:/backend/cache
|
||||||
|
- ${UMBREL_ROOT}/app-data/lightning/data/lnd:/lnd:ro
|
||||||
|
environment:
|
||||||
|
CORE_RPC_HOST: $APP_BITCOIN_NODE_IP
|
||||||
|
CORE_RPC_PORT: $APP_BITCOIN_RPC_PORT
|
||||||
|
CORE_RPC_USERNAME: $APP_BITCOIN_RPC_USER
|
||||||
|
CORE_RPC_PASSWORD: $APP_BITCOIN_RPC_PASS
|
||||||
|
ELECTRUM_HOST: $APP_ELECTRS_NODE_IP
|
||||||
|
ELECTRUM_PORT: $APP_ELECTRS_NODE_PORT
|
||||||
|
ELECTRUM_TLS: "false"
|
||||||
|
DATABASE_HOST: $APP_MEMPOOL_DB_IP
|
||||||
|
DATABASE_PORT: "3306"
|
||||||
|
DATABASE_DATABASE: "mempool"
|
||||||
|
DATABASE_USERNAME: "mempool"
|
||||||
|
DATABASE_PASSWORD: "mempool"
|
||||||
|
MEMPOOL_HTTP_PORT: "8999"
|
||||||
|
MEMPOOL_CACHE_DIR: "/backend/cache"
|
||||||
|
MEMPOOL_CLEAR_PROTECTION_MINUTES: "20"
|
||||||
|
MEMPOOL_STDOUT_LOG_MIN_PRIORITY: "info"
|
||||||
|
LIGHTNING_ENABLED: "true"
|
||||||
|
LIGHTNING_BACKEND: "lnd"
|
||||||
|
LIGHTNING_STATS_REFRESH_INTERVAL: 3600
|
||||||
|
LIGHTNING_GRAPH_REFRESH_INTERVAL: 3600
|
||||||
|
LND_TLS_CERT_PATH: "/lnd/tls.cert"
|
||||||
|
LND_MACAROON_PATH: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/readonly.macaroon"
|
||||||
|
LND_REST_API_URL: "https://$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_REST_PORT"
|
||||||
|
LND_TIMEOUT: 120000
|
||||||
|
STATISTICS_ENABLED: "true"
|
||||||
|
MEMPOOL_ADVANCED_GBT_MEMPOOL: "true"
|
||||||
|
MEMPOOL_ADVANCED_GBT_AUDIT: "true"
|
||||||
|
MEMPOOL_BLOCKS_SUMMARIES_INDEXING: "true"
|
||||||
|
MEMPOOL_INDEXING_BLOCKS_AMOUNT: "true"
|
||||||
|
MEMPOOL_CPFP_INDEXING: "true"
|
||||||
|
MEMPOOL_AUDIT: "true"
|
||||||
|
MEMPOOL_MEMPOOL_BLOCKS_AMOUNT: "50"
|
||||||
|
REPLICATION_ENABLED: "false"
|
||||||
|
MEMPOOL_GOGGLES_INDEXING: "true"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: $APP_MEMPOOL_API_IP
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:10.5.12@sha256:dfcba5641bdbfd7cbf5b07eeed707e6a3672f46823695a0d3aba2e49bbd9b1dd
|
||||||
|
user: "1000:1000"
|
||||||
|
restart: on-failure
|
||||||
|
stop_grace_period: 1m
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/mysql/data:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
MYSQL_DATABASE: "mempool"
|
||||||
|
MYSQL_USER: "mempool"
|
||||||
|
MYSQL_PASSWORD: "mempool"
|
||||||
|
MYSQL_ROOT_PASSWORD: "moneyprintergobrrr"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: $APP_MEMPOOL_DB_IP
|
7
btc-cleanpool/exports.sh
Normal file
7
btc-cleanpool/exports.sh
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export APP_MEMPOOL_IP="10.21.21.26"
|
||||||
|
export APP_MEMPOOL_PORT="3006"
|
||||||
|
export APP_MEMPOOL_API_IP="10.21.21.27"
|
||||||
|
export APP_MEMPOOL_DB_IP="10.21.21.28"
|
||||||
|
|
||||||
|
hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}/hostname"
|
||||||
|
export APP_MEMPOOL_HIDDEN_SERVICE="$(cat "${hidden_service_file}" 2>/dev/null || echo "")"
|
0
btc-cleanpool/mysql/data/.gitkeep
Normal file
0
btc-cleanpool/mysql/data/.gitkeep
Normal file
28
btc-cleanpool/umbrel-app.yml
Normal file
28
btc-cleanpool/umbrel-app.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
manifestVersion: 1
|
||||||
|
id: btc-cleanpool
|
||||||
|
category: Explorer
|
||||||
|
name: cleanpool
|
||||||
|
version: "3.0.0"
|
||||||
|
tagline: Explore Bitcoin
|
||||||
|
description: >-
|
||||||
|
Explore Bitcoin without spam
|
||||||
|
releaseNotes: >-
|
||||||
|
This update allows users to use the Lightning explorer if the Lightning Node app is installed.
|
||||||
|
developer: Mempool Space K.K. and Léo
|
||||||
|
website: https://mempool.orangepill.ovh
|
||||||
|
dependencies:
|
||||||
|
- bitcoin
|
||||||
|
- electrs
|
||||||
|
repo: https://github.com/Retropex/mempool
|
||||||
|
support: https://mempool.support
|
||||||
|
port: 3006
|
||||||
|
gallery:
|
||||||
|
- 1.jpg
|
||||||
|
- 2.jpg
|
||||||
|
- 3.jpg
|
||||||
|
- 4.jpg
|
||||||
|
path: ""
|
||||||
|
defaultUsername: ""
|
||||||
|
defaultPassword: ""
|
||||||
|
submitter: Mempool Space K.K.
|
||||||
|
submission: https://github.com/getumbrel/umbrel/pull/470
|
Loading…
Reference in New Issue
Block a user