Created
July 23, 2025 21:51
-
-
Save jaonoctus/b0da10461ebb2cb152b1fd7a7af668fd to your computer and use it in GitHub Desktop.
mempool
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
services: | |
web: | |
image: mempool/frontend:v3.2.1 | |
user: "1000:1000" | |
init: true | |
restart: on-failure | |
stop_grace_period: 1m | |
command: "./wait-for db:3306 --timeout=720 -- nginx -g 'daemon off;'" | |
depends_on: [api] | |
ports: [3006:3006] | |
environment: | |
FRONTEND_HTTP_PORT: "3006" | |
BACKEND_MAINNET_HTTP_HOST: "api" | |
api: | |
image: mempool/backend:v3.2.1 | |
init: true | |
restart: on-failure | |
stop_grace_period: 1m | |
user: "1000:1000" | |
command: "./wait-for-it.sh db:3306 --timeout=720 --strict -- ./start.sh" | |
volumes: [cache:/backend/cache] | |
depends_on: [db] | |
environment: | |
CORE_RPC_HOST: "10.11.12.201" | |
CORE_RPC_PORT: "8332" | |
CORE_RPC_USERNAME: "bitcoin" | |
CORE_RPC_PASSWORD: $BITCOIN_PASSWORD | |
ELECTRUM_HOST: "10.11.12.202" | |
ELECTRUM_PORT: "50001" | |
ELECTRUM_TLS: "false" | |
DATABASE_HOST: "db" | |
DATABASE_DATABASE: "mempool" | |
DATABASE_USERNAME: "mempool" | |
DATABASE_PASSWORD: "mempool" | |
MEMPOOL_HTTP_PORT: "8999" | |
MEMPOOL_CACHE_DIR: "/backend/cache" | |
NODE_OPTIONS: "--max-old-space-size=2048" | |
db: | |
image: mariadb:10.5.12 | |
restart: on-failure | |
stop_grace_period: 1m | |
volumes: [db:/var/lib/mysql] | |
environment: | |
MYSQL_DATABASE: "mempool" | |
MYSQL_USER: "mempool" | |
MYSQL_PASSWORD: "mempool" | |
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD | |
volumes: | |
db: | |
cache: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment