aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/config.sample.json (renamed from config/config.json.sample)6
-rw-r--r--config/index.js.sample45
-rw-r--r--config/index.sample.js70
3 files changed, 73 insertions, 48 deletions
diff --git a/config/config.json.sample b/config/config.sample.json
index 8599ef5b..70ea62a7 100644
--- a/config/config.json.sample
+++ b/config/config.sample.json
@@ -1,8 +1,8 @@
{
"development": {
- "username": "user",
- "password": "pass",
- "database": "db",
+ "username": "root",
+ "password": "password",
+ "database": "coinos",
"host": "localhost",
"dialect": "mysql"
},
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": "",
+ },
+}