Merge pull request #317 from bguillaumat/add-cache-dir

Add Dockerization of Mempool v2 for Umbrel App Store
This commit is contained in:
wiz
2021-02-03 03:21:22 +09:00
committed by GitHub
16 changed files with 457 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ interface IConfig {
SPAWN_CLUSTER_PROCS: number;
API_URL_PREFIX: string;
POLL_RATE_MS: number;
CACHE_DIR: string;
};
ESPLORA: {
REST_API_URL: string;
@@ -66,7 +67,8 @@ const defaults: IConfig = {
'HTTP_PORT': 8999,
'SPAWN_CLUSTER_PROCS': 0,
'API_URL_PREFIX': '/api/v1/',
'POLL_RATE_MS': 2000
'POLL_RATE_MS': 2000,
'CACHE_DIR': './'
},
'ESPLORA': {
'REST_API_URL': 'http://127.0.0.1:3000',