aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/index.js.sample39
1 files changed, 39 insertions, 0 deletions
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
+ }
+ }
+}