bitcore-wallet-service/config.js

52 lines
1.0 KiB
JavaScript
Raw Normal View History

2015-04-05 09:56:56 -07:00
var config = {
basePath: '/bws/api',
disableLogs: false,
2015-04-20 16:46:45 -07:00
port: 3232,
2015-04-15 11:56:08 -07:00
// Uncomment to make BWS a forking server
2015-04-15 14:36:18 -07:00
// cluster: true,
2015-04-15 11:56:08 -07:00
// Uncomment to use the nr of availalbe CPUs
2015-04-15 14:36:18 -07:00
// clusterInstances: 4,
2015-04-15 12:25:31 -07:00
// https: true,
// privateKeyFile: 'private.pem',
// certificateFile: 'cert.pem',
2015-04-15 06:59:25 -07:00
storageOpts: {
2015-04-20 16:46:45 -07:00
mongoDb: {
2015-04-23 12:30:16 -07:00
uri: 'mongodb://localhost:27017/bws',
2015-04-20 16:46:45 -07:00
},
2015-04-15 06:59:25 -07:00
},
lockOpts: {
// To use locker-server, uncomment this:
2015-04-20 16:46:45 -07:00
// lockerServer: {
// host: 'localhost',
// port: 3231,
// },
2015-04-15 06:59:25 -07:00
},
2015-05-06 06:00:09 -07:00
messageBrokerOpts: {
// To use message broker server, uncomment this:
messageBrokerServer: {
url: 'http://localhost:3380',
},
2015-05-05 09:04:29 -07:00
},
2015-04-15 06:59:25 -07:00
blockchainExplorerOpts: {
2015-04-05 09:56:56 -07:00
livenet: {
2015-04-15 09:23:30 -07:00
provider: 'insight',
2015-04-05 09:56:56 -07:00
url: 'https://insight.bitpay.com:443',
},
testnet: {
2015-04-15 09:23:30 -07:00
provider: 'insight',
2015-04-05 09:56:56 -07:00
url: 'https://test-insight.bitpay.com:443',
},
},
2015-04-29 08:10:01 -07:00
email: {
service: 'Gmail',
auth: {
user: '',
2015-04-29 17:02:30 -07:00
pass: '',
},
2015-04-30 10:50:48 -07:00
from: '[email protected]',
2015-04-29 17:02:30 -07:00
},
2015-04-05 09:56:56 -07:00
};
module.exports = config;