From 27cba8e4b054b6dde5b399e201d52b77b11a9a8a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 20 Mar 2018 17:03:46 +0000 Subject: refactor config --- config/index.js.sample | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 config/index.js.sample (limited to 'config') diff --git a/config/index.js.sample b/config/index.js.sample new file mode 100644 index 00000000..d4a03230 --- /dev/null +++ b/config/index.js.sample @@ -0,0 +1,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 + } + } +} -- cgit v1.2.3