Created
January 16, 2022 07:47
-
-
Save wiz/7eea204712809affab75a1d38befea1d to your computer and use it in GitHub Desktop.
mempool v2.3 umbrel config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
web: | |
image: mempool/frontend:v2.3.0 | |
user: "1000:1000" | |
init: true | |
restart: on-failure | |
stop_grace_period: 1m | |
command: "./wait-for mariadb:3306 --timeout=720 -- nginx -g 'daemon off;'" | |
ports: | |
- ${APP_MEMPOOL_PORT}:${APP_MEMPOOL_PORT} | |
environment: | |
FRONTEND_HTTP_PORT: $APP_MEMPOOL_PORT | |
BACKEND_MAINNET_HTTP_HOST: $APP_MEMPOOL_API_IP | |
networks: | |
default: | |
ipv4_address: $APP_MEMPOOL_IP | |
api: | |
image: mempool/backend:v2.3.0 | |
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: $BITCOIN_IP | |
CORE_RPC_PORT: $BITCOIN_RPC_PORT | |
CORE_RPC_USERNAME: $BITCOIN_RPC_USER | |
CORE_RPC_PASSWORD: $BITCOIN_RPC_PASS | |
ELECTRUM_HOST: $ELECTRUM_IP | |
ELECTRUM_PORT: $ELECTRUM_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" | |
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 | |
- ${APP_DATA_DIR}/mysql/db-scripts:/docker-entrypoint-initdb.d | |
environment: | |
MYSQL_DATABASE: "mempool" | |
MYSQL_USER: "mempool" | |
MYSQL_PASSWORD: "mempool" | |
MYSQL_ROOT_PASSWORD: "moneyprintergobrrr" | |
networks: | |
default: | |
ipv4_address: $APP_MEMPOOL_DB_IP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment