Created
May 3, 2021 17:01
-
-
Save jaonoctus/e17184b9f1fd145d4faaa750d6a7d098 to your computer and use it in GitHub Desktop.
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: | |
electrs: | |
container_name: mempoolspace_electrs | |
image: dmp1ce/electrs | |
command: "./target/release/electrs --network regtest" | |
network_mode: "host" | |
restart: on-failure | |
environment: | |
- ELECTRS_VERBOSE=4 | |
- ELECTRS_TIMESTAMP=true | |
- ELECTRS_DB_DIR=/home/user/db | |
- ELECTRS_ELECTRUM_RPC_ADDR=0.0.0.0:50001 | |
volumes: | |
- /home/jaonoctus/.polar/networks/3/volumes/bitcoind/backend1:/home/user/.bitcoin:ro | |
- ./data/electrs:/home/user/db | |
mempool_frontend: | |
container_name: mempoolspace_frontend | |
image: mempool/frontend:v2.1.2@sha256:69fefe55dc1eb4c8373c32d57362df7eeb672fc591d55033d68ae79355274dcc | |
user: "1000:1000" | |
init: true | |
network_mode: "host" | |
restart: on-failure | |
command: "./wait-for 0.0.0.0:3306 --timeout=720 -- nginx -g 'daemon off;'" | |
environment: | |
- FRONTEND_HTTP_PORT=8080 | |
- BACKEND_MAINNET_HTTP_HOST=0.0.0.0 | |
depends_on: | |
- mempool_backend | |
mempool_backend: | |
container_name: mempoolspace_backend | |
image: mempool/backend:v2.1.2@sha256:58394cb35aad82b95ab2496fd4a6d3c983a712a1003454d94b0a53197d306f6d | |
user: "1000:1000" | |
init: true | |
network_mode: "host" | |
restart: on-failure | |
command: "./wait-for-it.sh 0.0.0.0:3306 --timeout=720 --strict -- ./start.sh" | |
volumes: | |
- ./data/mempool:/backend/cache | |
environment: | |
- RPC_HOST=0.0.0.0 | |
- RPC_PORT=18443 | |
- RPC_USER=polaruser | |
- RPC_PASS=polarpass | |
- ELECTRS_HOST=0.0.0.0 | |
- ELECTRS_PORT=50001 | |
- MYSQL_HOST=0.0.0.0 | |
- MYSQL_DATABASE=mempool | |
- MYSQL_USER=mempool | |
- MYSQL_PASS=mempool | |
- CACHE_DIR=/backend/cache | |
depends_on: | |
- mariadb | |
mariadb: | |
image: mariadb:10.5.8@sha256:8040983db146f729749081c6b216a19d52e0973134e2e34c0b4fd87f48bc15b0 | |
user: "1000:1000" | |
restart: on-failure | |
volumes: | |
- ./data/mysql/data:/var/lib/mysql | |
- ./data/mysql/db-scripts:/docker-entrypoint-initdb.d | |
environment: | |
- MYSQL_DATABASE=mempool | |
- MYSQL_USER=mempool | |
- MYSQL_PASSWORD=mempool | |
- MYSQL_ROOT_PASSWORD=moneyprintergobrrr | |
depends_on: | |
- electrs |
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.4' | |
services: | |
rpc-explorer1: | |
container_name: regtest_explorer1 | |
image: getumbrel/btc-rpc-explorer:v3.1.1 | |
ports: | |
- "3011:3002" | |
environment: | |
BTCEXP_HOST: 0.0.0.0 | |
BTCEXP_BITCOIND_URI: "bitcoin://polaruser:[email protected]:18443?timeout=10000" | |
rpc-explorer2: | |
container_name: regtest_explorer2 | |
image: getumbrel/btc-rpc-explorer:v3.1.1 | |
ports: | |
- "3012:3002" | |
environment: | |
BTCEXP_HOST: 0.0.0.0 | |
BTCEXP_BITCOIND_URI: "bitcoin://polaruser:[email protected]:18445?timeout=10000" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment