-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
44 lines (44 loc) · 693 Bytes
/
Copy pathconfig.js
File metadata and controls
44 lines (44 loc) · 693 Bytes
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
33
34
35
36
37
38
39
40
41
42
43
44
export default {
app: {
debug: true,
secret: "asAS2UBf_124(**)fs12455"
},
db: {
database: "24haowan",
username: "root",
password: "root",
options: {
dialect: "mysql",
host: "127.0.0.1",
port: 3306,
pool: {
max: 5,
min: 0,
idle: 10000
}
}
},
mongo: {
uri: "mongodb://127.0.0.1:27017/24haowan",
options: {
db: {},
server: {
poolSize: 5
}
}
},
redis: {
host: "127.0.0.1",
port: 6379,
},
log: {
transports: [{
type: "console",
level: "info"
}, {
type: "file",
filename: "log/app.log",
level: "warn"
}]
}
};