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