diff options
| author | Adam Soltys <[email protected]> | 2018-03-20 17:03:46 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2018-03-20 17:03:46 +0000 |
| commit | 27cba8e4b054b6dde5b399e201d52b77b11a9a8a (patch) | |
| tree | 19e5c2ab5f636a43e7d1e315d328b1f7bfde1f35 /config | |
| parent | aca2da56939d6168bf8e02a9d112951abc3da927 (diff) | |
| download | coinos-server-27cba8e4b054b6dde5b399e201d52b77b11a9a8a.tar.gz coinos-server-27cba8e4b054b6dde5b399e201d52b77b11a9a8a.zip | |
refactor config
Diffstat (limited to 'config')
| -rw-r--r-- | config/index.js.sample | 39 |
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 + } + } +} |
