-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecosystem.config.js
29 lines (29 loc) · 1.03 KB
/
ecosystem.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
apps : [{
name: 'app',
script: 'app.js',
args: ['--redis', '--prod'],
instances : '1',
exec_mode : 'cluster',
watch: false,
watch_delay: 10000,
restart_delay: 10000,
listen_timeout: 10000,
ignore_watch : ['node_modules', '.tmp', '.git'],
log_date_format: 'MM-DD HH:mm',
env: {
NODE_ENV: 'production',
network: 'testnet',
dbUrl: 'mysql://user:password@host:port/database',
baseUrl: 'https://gobento.app',
nodeInfoAddressUrl: 'https://testnet.blockchain.info/address/XXXXX?format=json',
nodeInfoTxUrl: 'https://www.blockchain.com/btc-testnet/tx/XXXXX',
nodeInfoUnspentUrl: 'https://testnet.blockchain.info/unspent?cors=true&active=XXXXX',
nodeInfoRawTxUrl: 'https://testnet.blockchain.info/rawtx/XXXXX?cors=true&format=hex',
nodePushTxUrl: 'https://api.blockcypher.com/v1/btc/test3/txs/push',
mailgunDomain: 'mg.bento.me',
mailgunSecret: 'key-22222222222222222222',
emailAddress: '[email protected]'
},
}],
};