lndhub/config.js
Overtorment fb63f4e3c2 INIT
2018-12-02 22:17:02 +00:00

22 lines
410 B
JavaScript

let config = {
bitcoind: {
rpc: 'http://login:password@1.1.1.1:8332',
},
redis: {
port: 12914,
host: '1.1.1.1',
family: 4,
password: 'password',
db: 0,
},
lnd: {
url: '1.1.1.1:10009',
},
};
if (process.env.CONFIG) {
console.log('using config from env');
config = JSON.parse(process.env.CONFIG)
}
module.exports = config;