citadel-apps/apps/mempool/app.yml
2021-10-20 20:10:06 +01:00

103 lines
2.8 KiB
YAML

# SPDX-FileCopyrightText: 2021 Bastien Guillaumat <bastien.guillaumat@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-only
# yaml-language-server: $schema=../../app-standard-v1.json
version: 1
metadata:
category: Explorers
name: Mempool
version: 2.3.0-dev1
tagline: A mempool visualizer, explorer and fee estimator
description: 'Mempool is the official self-hosted version of the fully featured
explorer, visualizer, fee estimator, and API service running on mempool.space,
an open source project developed and operated for the benefit of the Bitcoin community,
with a focus on the emerging transaction fee market to help our transition into
a multi-layer ecosystem.
Features:
- Live dashboard visualizing the mempool and blockchain
- Live transaction tracking
- Search any transaction, block or address
- Fee estimations
- Mempool historical data
- TV View for larger displays as a TV in a cafe or bar
- View transaction scripts and op_return messages
- Audio notifications on transaction confirmed and address balance change
- Multiple languages support
- JSON APIs'
developer: mempool.space
website: https://mempool.space/about
dependencies:
- electrum
- bitcoind
repo: https://github.com/mempool/mempool
support: https://t.me/mempoolspace
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
containers:
- name: main
image: mempool/frontend:v2.3.0-dev1@sha256:2ae9338415bc55e9691f0971dd28bbad270da0a6200a3251faf3b91c2c8add62
user: 1000:1000
init: true
command: ./wait-for mariadb:3306 --timeout=720 -- nginx -g 'daemon off;'
environment:
FRONTEND_HTTP_PORT: $APP_MEMPOOL_MAIN_PORT
BACKEND_MAINNET_HTTP_HOST: $APP_MEMPOOL_API_IP
- name: api
image: mempool/backend:v2.3.0-dev1@sha256:a4a282e673736f37c358d32b241b131b4f4456faaea76572d83fa61956a02f9a
user: 1000:1000
init: true
command: ./wait-for-it.sh mariadb:3306 --timeout=720 --strict -- ./start.sh
environment:
RPC_HOST: $BITCOIN_IP
RPC_PORT: $BITCOIN_RPC_PORT
RPC_USER: $BITCOIN_RPC_USER
RPC_PASS: $BITCOIN_RPC_PASS
ELECTRUM_HOST: $ELECTRUM_IP
ELECTRUM_PORT: $ELECTRUM_PORT
ELECTRUM_TLS: 'false'
MYSQL_HOST: $APP_MEMPOOL_MARIADB_IP
MYSQL_PORT: '3306'
MYSQL_DATABASE: mempool
MYSQL_USER: mempool
MYSQL_PASS: mempool
BACKEND_MAINNET_HTTP_PORT: '8999'
CACHE_DIR: /backend/cache
MEMPOOL_CLEAR_PROTECTION_MINUTES: '20'
data:
- data:/backend/cache
permissions:
- electrum
- bitcoind
- name: mariadb
image: mariadb:10.6.4@sha256:4bbee12b1adf299211f844ebbe89563675c46965470dcfa40f5278d63c56d030
user: 1000:1000
environment:
MYSQL_DATABASE: mempool
MYSQL_USER: mempool
MYSQL_PASSWORD: mempool
MYSQL_ROOT_PASSWORD: moneyprintergobrrr
data:
- mysql/db-scripts:/docker-entrypoint-initdb.d
- mysql/data:/var/lib/mysql