aboutsummaryrefslogtreecommitdiffstats
path: root/config/index.js.sample
blob: d4a03230018954401c06c55febebe009e8fba4b5 (plain) (blame)
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
30
31
32
33
34
35
36
37
38
39
import db from './config.json'

module.exports = {
  db,
  bitcoin: {
    username: '',
    password: '',
    network: 'mainnet',
  },
  lna: {
    server: 'localhost:10001',
    tls: '/home/adam/.lnd/tls.cert',
    macaroon: '/home/adam/.lnd/test.macaroon',
  },
  lnb: {
    server: 'localhost:10002',
    tls: '/home/adam/.lndb/tls.cert',
    macaroon: '/home/adam/.lndb/test.macaroon',
  },
  auto: {
    host: "localhost",
    dialect: "mysql",
    tables: ["users", "payments"],
    logging: false,
    directory: false,
    operatorsAliases: false,
    dialectOptions: {
      timeout: 500000,
      multipleStatements: true
    },
    pool: {
      min: 0,
      max: 25
    },
    retry: {
      max: 5
    }
  }
}