-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.js.example
executable file
·50 lines (44 loc) · 1.04 KB
/
.env.js.example
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
45
46
47
48
49
50
/**
* 不同环境的配置默认值
*
* @author : Sunkey
*/
module.exports = {
/* App默认配置 */
APP_HOST: '127.0.0.1',
APP_PORT: 10001,
/* 数据库默认配置 */
DB_DRIVER: 'mongo',
/* mongo 配置 */
MONGO_HOST: '127.0.0.1',
MONGO_PORT: 29019,
MONGO_USERNAME: '',
MONGO_PASSWORD: '',
MONGO_DATABASE: 'jedijs',
/* mysql 配置 */
MONGO_HOST: '127.0.0.1',
MONGO_PORT: 3306,
MONGO_USERNAME: '',
MONGO_PASSWORD: '',
MONGO_DATABASE: 'jedijs',
CACHE_DRIVER: 'redis',
/* redis默认配置 */
REDIS_HOST: '127.0.0.1',
REDIS_PORT: 6379,
REDIS_PASSWORD: 'redis',
REDIS_DB: 1,
/* 邮件默认配置 */
MAIL_DRIVER: 'smtp',
MAIL_HOST: 'smtp.163.com',
MAIL_USERNAME: '[email protected]',
MAIL_PASSWORD: '123456',
/* 默认微信公众号 */
WX_NUM: 'test',
/* 多公众号配置 */
WX_CONFIG: {
test: {
APP_ID: 'wx471c1b9a483beeee',
APP_SECRET: '790c68a51cca4259484cd8a1457ef2ec',
},
}
};