diff options
| author | Ran Guin <[email protected]> | 2021-05-15 15:27:34 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-09 16:05:31 -0700 |
| commit | e524e32d2518b75769fc96d827443fc72f50b60b (patch) | |
| tree | 2d47bde283821144ae96d93671837db1e74054ec | |
| parent | 72997629e92e0ab3eb9c13f17d2b00ac20b6a5e8 (diff) | |
| download | coinos-server-e524e32d2518b75769fc96d827443fc72f50b60b.tar.gz coinos-server-e524e32d2518b75769fc96d827443fc72f50b60b.zip | |
update sample files
| -rw-r--r-- | config/samples/index.sample.js | 19 | ||||
| -rw-r--r-- | config/samples/private.json | 29 |
2 files changed, 32 insertions, 16 deletions
diff --git a/config/samples/index.sample.js b/config/samples/index.sample.js index 0bad1736..407fbed6 100644 --- a/config/samples/index.sample.js +++ b/config/samples/index.sample.js @@ -17,11 +17,12 @@ const usdtasset = "4dddd1d0d0beeaee17df7722b512906cc5bc660c81225083b72b05820ecd3 module.exports = { dbOptions: dbOptions, lnurl, - clientVersion: "x11111xx11xx11x11x11111111xx1111111xx111", + clientVersion: private.CLIENT_VERSION, + private: private, vapid: { url: "https://coinos.io/", - publicKey: "xxxxxx111xxxx1xxx111xxxxxxxxxxxxxxxxx_x-xxx1xxx1xxxxxxxx1xxxxxxxxx1x1xxxxxxxx1xxx1xxxxx", - privateKey: private.VAPID_KEY + publicKey: private.VAPID_PUBLIC_KEY, + privateKey: private.VAPID_PRIVATE_KEY }, knex: { client: 'mysql2', @@ -77,14 +78,8 @@ module.exports = { ], mailgun: { domain: "coinos.io", - apiKey: "key-59cd7eaxxxxxxxxxxxxxxxxxxx" + apiKey: private.MAILGUN_KEY + }, - imap: { - user: "[email protected]", - password: "xxxxxxxxxxxxx", - host: "imap.mailserver.com", - port: 993, - tls: true, - accounts: { "STRING_TO_GREP_FOR": 999999 }, - } + imap: private.IMAP_SETTINGS } diff --git a/config/samples/private.json b/config/samples/private.json index b08cabee..208394bc 100644 --- a/config/samples/private.json +++ b/config/samples/private.json @@ -4,26 +4,47 @@ "user": "tester", "password": "testpassword", "database": "coinos", - "host": "localhost" + "host": "localhost", + "dialect": "mariadb", + "dialectOptions": { "multipleStatements": true, "timezone": "Etc/GMT+7" } }, "test": { "username": "proxy", "password": "pwd", "database": "database_test", - "host": "127.0.0.1" + "host": "127.0.0.1", + "dialect": "mariadb", + "dialectOptions": { "multipleStatements": true, "timezone": "Etc/GMT+7" } }, "production": { "username": "proxy", "password": "pwd", "database": "database_production", - "host": "127.0.0.1" + "host": "127.0.0.1", + "dialect": "mariadb", + "dialectOptions": { "multipleStatements": true, "timezone": "Etc/GMT+7" } } }, "jwt": "********", + "CLIENT_VERSION": "*****", + + "MAILGUIN_KEY": "*****", + + "IMAP_SETTINGS": { + "user": "**", + "password": "**", + "host": "**", + "port": "**", + "tls": true, + "accounts": {} + }, + "BITCOIN_KEY": "*****", "LIQUID_KEY": "*****", - "VAPID_KEY": "*****", + + "VAPID_PUBLIC_KEY": "*****", + "VAPID_PRIVATE_KEY": "*****", "facebook": { "appToken": "****", |
