umbrel-apps/mempool/docker-compose.yml

67 lines
2.1 KiB
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
2022-05-16 13:30:51 +00:00
app_proxy:
environment:
APP_HOST: $APP_MEMPOOL_IP
APP_PORT: $APP_MEMPOOL_PORT
2022-06-11 14:22:22 +00:00
PROXY_AUTH_ADD: "false"
2022-04-20 20:32:07 +00:00
web:
2022-06-11 14:22:22 +00:00
image: mempool/frontend:v2.4.0@sha256:f71722f1e3abfb3d8a3df6f2a32e384d39434e311bb83d810629077b4fa6ffaf
2022-04-20 20:32:07 +00:00
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
networks:
default:
ipv4_address: $APP_MEMPOOL_IP
api:
2022-06-11 14:22:22 +00:00
image: mempool/backend:v2.4.0@sha256:6036cc6866b782efadc765e8189958940202b3fa1770eb35c35210c86efd2f47
2022-04-20 20:32:07 +00:00
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
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
2022-04-20 20:32:07 +00:00
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"
2022-06-11 14:22:22 +00:00
MEMPOOL_INDEXING_BLOCKS_AMOUNT: "52560"
MEMPOOL_STDOUT_LOG_MIN_PRIORITY: "info"
2022-04-20 20:32:07 +00:00
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