-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
31 lines (27 loc) · 912 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
const env = process.env;
const config = {
eskdb: { /* do not put password or any sensitive info here, done only for demo */
host: env.DB_HOST || 'remotemysql.com',
user: env.DB_USER || 'silindi',
password: env.DB_PASSWORD || 'WGPjcasxfP',
database: env.DB_NAME || 'yokki',
waitForConnections: true,
connectionLimit: env.DB_CONN_LIMIT || 2,
queueLimit: 0,
debug: env.DB_DEBUG || false
},
db: { /* do not put password or any sensitive info here, done only for demo */
host: env.DB_HOST || '5.2.85.46',
user: env.DB_USER || 'periyodi_geouser',
password: env.DB_PASSWORD || '5W*I}=?6{-%{',
database: env.DB_NAME || 'periyodi_ramdem',
waitForConnections: true,
connectionLimit: env.DB_CONN_LIMIT || 2,
queueLimit: 0,
debug: env.DB_DEBUG || false
},
listPerPage: env.LIST_PER_PAGE || 10,
apiVersion: 'v1',
maxDataItem: 100,
};
module.exports = config;