Add docker dir to build mempool containers
This commit is contained in:
38
docker/backend/mempool-config.json
Normal file
38
docker/backend/mempool-config.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"MEMPOOL": {
|
||||
"NETWORK": "mainnet",
|
||||
"BACKEND": "electrum",
|
||||
"HTTP_PORT": 8999,
|
||||
"SPAWN_CLUSTER_PROCS": 0,
|
||||
"API_URL_PREFIX": "/api/v1/",
|
||||
"POLL_RATE_MS": 2000,
|
||||
"CACHE_DIR": "<CACHE_DIR>"
|
||||
},
|
||||
"CORE_RPC": {
|
||||
"HOST": "<RPC_HOST>",
|
||||
"PORT": <RPC_PORT>,
|
||||
"USERNAME": "<RPC_USER>",
|
||||
"PASSWORD": "<RPC_PASS>"
|
||||
},
|
||||
"ELECTRUM": {
|
||||
"HOST": "<ELECTRS_HOST>",
|
||||
"PORT": <ELECTRS_PORT>,
|
||||
"TLS_ENABLED": false,
|
||||
"TX_LOOKUPS": true
|
||||
},
|
||||
"ESPLORA": {
|
||||
"REST_API_URL": "http://127.0.0.1:3000"
|
||||
},
|
||||
"DATABASE": {
|
||||
"ENABLED": true,
|
||||
"HOST": "<MYSQL_HOST>",
|
||||
"PORT": 3306,
|
||||
"DATABASE": "mempool",
|
||||
"USERNAME": "mempool",
|
||||
"PASSWORD": "mempool"
|
||||
},
|
||||
"STATISTICS": {
|
||||
"ENABLED": true,
|
||||
"TX_PER_SECOND_SAMPLE_PERIOD": 150
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user