Update production backend configuration files for all 4 instances

This commit is contained in:
wiz 2020-10-19 20:40:32 +09:00
parent 962c024ecb
commit d8521a9e21
No known key found for this signature in database
GPG Key ID: A394E332255A6173
4 changed files with 108 additions and 73 deletions

View File

@ -1,23 +1,35 @@
{
"MEMPOOL": {
"NETWORK": "bisq",
"HTTP_PORT": 8996,
"DB_HOST": "localhost",
"DB_PORT": 3306,
"DB_USER": "bmempool",
"DB_PASSWORD": "bmempool",
"DB_DATABASE": "bmempool",
"API_ENDPOINT": "/api/v1/",
"ELECTRS_POLL_RATE_MS": 2000,
"MEMPOOL_REFRESH_RATE_MS": 2000,
"DEFAULT_PROJECTED_BLOCKS_AMOUNT": 8,
"KEEP_BLOCK_AMOUNT": 24,
"INITIAL_BLOCK_AMOUNT": 8,
"TX_PER_SECOND_SPAN_SECONDS": 150,
"ELECTRS_API_URL": "http://[::1]:3000",
"BISQ_ENABLED": true,
"BISQ_BLOCKS_DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db/json",
"BISQ_MARKET_ENABLED": true,
"BISQ_MARKETS_DATA_PATH": "/bisq/statsnode-data",
"SSL": false,
"SSL_CERT_FILE_PATH": "/etc/letsencrypt/live/mysite/fullchain.pem",
"SSL_KEY_FILE_PATH": "/etc/letsencrypt/live/mysite/privkey.pem"
"MINED_BLOCKS_CACHE": 144,
"SPAWN_CLUSTER_PROCS": 4,
"API_URL_PREFIX": "/api/v1/",
"WEBSOCKET_REFRESH_RATE_MS": 2000
},
"ELECTRS": {
"ENABLED": true,
"REST_API_URL": "http://[::1]:3000",
"POLL_RATE_MS": 2000
},
"DATABASE": {
"ENABLED": false,
"HOST": "localhost",
"PORT": 3306,
"USERNAME": "bmempool",
"PASSWORD": "bmempool",
"DATABASE": "bmempool"
},
"STATISTICS": {
"ENABLED": true,
"TX_PER_SECOND_SAMPLE_PERIOD": 150
},
"BISQ_BLOCKS": {
"ENABLED": true,
"DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db/json"
},
"BISQ_MARKETS": {
"ENABLED": true,
"DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db"
}
}

View File

@ -1,20 +1,27 @@
{
"MEMPOOL": {
"NETWORK": "liquid",
"HTTP_PORT": 8998,
"DB_HOST": "localhost",
"DB_PORT": 3306,
"DB_USER": "lmempool",
"DB_PASSWORD": "lmempool",
"DB_DATABASE": "lmempool",
"API_ENDPOINT": "/api/v1/",
"ELECTRS_POLL_RATE_MS": 2000,
"MEMPOOL_REFRESH_RATE_MS": 2000,
"DEFAULT_PROJECTED_BLOCKS_AMOUNT": 8,
"KEEP_BLOCK_AMOUNT": 24,
"INITIAL_BLOCK_AMOUNT": 8,
"TX_PER_SECOND_SPAN_SECONDS": 150,
"ELECTRS_API_URL": "http://[::1]:3001",
"LIQUID": true,
"SSL": false,
"SSL_CERT_FILE_PATH": "/etc/letsencrypt/live/mysite/fullchain.pem",
"SSL_KEY_FILE_PATH": "/etc/letsencrypt/live/mysite/privkey.pem"
"MINED_BLOCKS_CACHE": 144,
"SPAWN_CLUSTER_PROCS": 0,
"API_URL_PREFIX": "/api/v1/",
"WEBSOCKET_REFRESH_RATE_MS": 2000
},
"ELECTRS": {
"ENABLED": true,
"REST_API_URL": "http://[::1]:3001",
"POLL_RATE_MS": 2000
},
"DATABASE": {
"ENABLED": true,
"HOST": "localhost",
"PORT": 3306,
"USERNAME": "lmempool",
"PASSWORD": "lmempool",
"DATABASE": "lmempool"
},
"STATISTICS": {
"ENABLED": true,
"TX_PER_SECOND_SAMPLE_PERIOD": 150
}
}

View File

@ -1,19 +1,27 @@
{
"MEMPOOL": {
"NETWORK": "mainnet",
"HTTP_PORT": 8999,
"DB_HOST": "localhost",
"DB_PORT": 3306,
"DB_USER": "mempool",
"DB_PASSWORD": "mempool",
"DB_DATABASE": "mempool",
"API_ENDPOINT": "/api/v1/",
"ELECTRS_POLL_RATE_MS": 2000,
"MEMPOOL_REFRESH_RATE_MS": 2000,
"DEFAULT_PROJECTED_BLOCKS_AMOUNT": 8,
"KEEP_BLOCK_AMOUNT": 24,
"INITIAL_BLOCK_AMOUNT": 8,
"TX_PER_SECOND_SPAN_SECONDS": 150,
"ELECTRS_API_URL": "http://[::1]:3000",
"SSL": false,
"SSL_CERT_FILE_PATH": "/etc/letsencrypt/live/mysite/fullchain.pem",
"SSL_KEY_FILE_PATH": "/etc/letsencrypt/live/mysite/privkey.pem"
"MINED_BLOCKS_CACHE": 144,
"SPAWN_CLUSTER_PROCS": 0,
"API_URL_PREFIX": "/api/v1/",
"WEBSOCKET_REFRESH_RATE_MS": 2000
},
"ELECTRS": {
"ENABLED": true,
"REST_API_URL": "http://[::1]:3000",
"POLL_RATE_MS": 2000
},
"DATABASE": {
"ENABLED": true,
"HOST": "localhost",
"PORT": 3306,
"USERNAME": "mempool",
"PASSWORD": "mempool",
"DATABASE": "mempool"
},
"STATISTICS": {
"ENABLED": true,
"TX_PER_SECOND_SAMPLE_PERIOD": 150
}
}

View File

@ -1,19 +1,27 @@
{
"MEMPOOL": {
"NETWORK": "testnet",
"HTTP_PORT": 8997,
"DB_HOST": "localhost",
"DB_PORT": 3306,
"DB_USER": "tmempool",
"DB_PASSWORD": "tmempool",
"DB_DATABASE": "tmempool",
"API_ENDPOINT": "/api/v1/",
"ELECTRS_POLL_RATE_MS": 2000,
"MEMPOOL_REFRESH_RATE_MS": 2000,
"DEFAULT_PROJECTED_BLOCKS_AMOUNT": 8,
"KEEP_BLOCK_AMOUNT": 24,
"INITIAL_BLOCK_AMOUNT": 8,
"TX_PER_SECOND_SPAN_SECONDS": 150,
"ELECTRS_API_URL": "http://[::1]:3002",
"SSL": false,
"SSL_CERT_FILE_PATH": "/etc/letsencrypt/live/mysite/fullchain.pem",
"SSL_KEY_FILE_PATH": "/etc/letsencrypt/live/mysite/privkey.pem"
"MINED_BLOCKS_CACHE": 144,
"SPAWN_CLUSTER_PROCS": 0,
"API_URL_PREFIX": "/api/v1/",
"WEBSOCKET_REFRESH_RATE_MS": 2000
},
"ELECTRS": {
"ENABLED": true,
"REST_API_URL": "http://[::1]:3002",
"POLL_RATE_MS": 2000
},
"DATABASE": {
"ENABLED": true,
"HOST": "localhost",
"PORT": 3306,
"USERNAME": "tmempool",
"PASSWORD": "tmempool",
"DATABASE": "tmempool"
},
"STATISTICS": {
"ENABLED": true,
"TX_PER_SECOND_SAMPLE_PERIOD": 150
}
}