From c42ddcd8948afc1da15bdd33bd5dc7b325ede10a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 9 Feb 2019 20:30:45 -0800 Subject: sample configs --- config/config.json.sample | 41 --------------------------- config/config.sample.json | 41 +++++++++++++++++++++++++++ config/index.js.sample | 45 ------------------------------ config/index.sample.js | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 86 deletions(-) delete mode 100644 config/config.json.sample create mode 100644 config/config.sample.json delete mode 100644 config/index.js.sample create mode 100644 config/index.sample.js (limited to 'config') diff --git a/config/config.json.sample b/config/config.json.sample deleted file mode 100644 index 8599ef5b..00000000 --- a/config/config.json.sample +++ /dev/null @@ -1,41 +0,0 @@ -{ - "development": { - "username": "user", - "password": "pass", - "database": "db", - "host": "localhost", - "dialect": "mysql" - }, - "test": { - "username": "root", - "password": null, - "database": "database_test", - "host": "127.0.0.1", - "dialect": "mysql" - }, - "production": { - "username": "root", - "password": null, - "database": "database_production", - "host": "127.0.0.1", - "dialect": "mysql" - }, - "auto": { - "host": "localhost", - "dialect": "mysql", - "tables": ["users"], - "logging": false, - "directory": false, - "dialectOptions": { - "timeout": 500000, - "multipleStatements": true - }, - "pool": { - "min": 0, - "max": 25 - }, - "retry": { - "max": 5 - } - } -} diff --git a/config/config.sample.json b/config/config.sample.json new file mode 100644 index 00000000..70ea62a7 --- /dev/null +++ b/config/config.sample.json @@ -0,0 +1,41 @@ +{ + "development": { + "username": "root", + "password": "password", + "database": "coinos", + "host": "localhost", + "dialect": "mysql" + }, + "test": { + "username": "root", + "password": null, + "database": "database_test", + "host": "127.0.0.1", + "dialect": "mysql" + }, + "production": { + "username": "root", + "password": null, + "database": "database_production", + "host": "127.0.0.1", + "dialect": "mysql" + }, + "auto": { + "host": "localhost", + "dialect": "mysql", + "tables": ["users"], + "logging": false, + "directory": false, + "dialectOptions": { + "timeout": 500000, + "multipleStatements": true + }, + "pool": { + "min": 0, + "max": 25 + }, + "retry": { + "max": 5 + } + } +} diff --git a/config/index.js.sample b/config/index.js.sample deleted file mode 100644 index 35275d3d..00000000 --- a/config/index.js.sample +++ /dev/null @@ -1,45 +0,0 @@ -import db from './config.json' - -module.exports = { - db, - bitcoin: { - username: '', - password: '', - network: 'mainnet', - zmq: 'tcp://127.0.0.1:18502', - }, - 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 - } - }, - quad: { - "key": "", - "secret": "", - "client_id": "", - }, -} diff --git a/config/index.sample.js b/config/index.sample.js new file mode 100644 index 00000000..c2813322 --- /dev/null +++ b/config/index.sample.js @@ -0,0 +1,70 @@ +import db from './config.json' + +module.exports = { + authy: { + key: 'I6KdqjAKMZg7uMHLUrswMQ1PSEZ2gFZ4', + sid: 'SK0d7263ed9a3f4a4bdbdcd77791b67381', + }, + twilio: { + authToken: 'a61a7bb0922dea9ec0098138da76afc6', + number: '+15864091422', + sid: 'AC2836311228c04e499e4eeb3a139a352b', + }, + port: 3119, + db, + facebook: { + appToken: '290368338052652|WorpE7Brn61TTKUOQUyy1T8cKvc', + specialFriend: '10102176487832944', + }, + mailgun: { + domain: 'coinos.io', + apiKey: 'key-59cd7fa2322ae2511d6b50cf9adf924d', + }, + stripe: "sk_test_mBv5cAeehiYFDyFZJNsDwjht", + bitcoin: { + username: 'bitcoin', + password: 'f-7mLj4rOxcrkqreXyTflLNaj927UsKtNapuQcHv7Kk=', + walletpass: 'bitcoin', + network: 'testnet', + zmqrawblock: 'tcp://127.0.0.1:18504', + zmqrawtx: 'tcp://127.0.0.1:18505', + }, + lna: { + server: 'localhost:10001', + tls: '/home/user/.lnd.testa/tls.cert', + macaroon: '/home/user/.lnd.testa/data/chain/bitcoin/testnet/admin.macaroon', + channelpeers: [ + '029654df009c909c3f513d944fc9456c6cac5f3a9c34dab85289e1425856c1b0fe' + ] + }, + lnb: { + server: 'localhost:10002', + tls: '/home/user/.lnd.testb/tls.cert', + macaroon: '/home/user/.lnd.testb/data/chain/bitcoin/testnet/admin.macaroon', + id: '029654df009f907a2f513d944fc9456c6cac5f3a9c34dab85289e1425856c1b0fe', + }, + 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 + } + }, + quad: { + "key": "", + "secret": "", + "client_id": "", + }, +} -- cgit v1.2.3