forked from mahmoudsultan/expressjs-api-startup-files-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
32 lines (31 loc) · 839 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
32
var config = {
development: {
database: {
name: 'itw',
username: 'root',
password: process.env.SQL_PASSWORD,
config: {
host: 'localhost',
dialect: 'mysql',
pool: {
max: 5,
min: 0,
idle: 10000
}
}
},
pusher: {
appId: '335120',
key: 'a77c6db33a10e6568489',
secret: 'b13414eb5d0f8eb9e0b2',
cluster: 'eu',
encrypted: true,
default_channel: "my-channel",
default_event: "my-event"
},
force: false, // forcing sequelizer to drop tables
port: 8000
}
};
// change in case of production
module.exports = config.development;