forked from ymm-tech/gods-pen-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.dev.js
48 lines (47 loc) · 938 Bytes
/
config.dev.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
*
* 开发环境配置
* 下面是码良依赖的各种服务,请务必逐一配置
*
*/
module.exports = {
sequelize: {
dialect: 'mysql',
port: '3306',
database: 'godspen_db',
host: '',
username: '',
password: ''
},
oss: {
accessKeyId: '',
accessKeySecret: '',
host: '', // eg. https://xxxxxx.oss-cn-hangzhou.aliyuncs.com'
bucket:'',
region: '' // eg. oss-cn-hangzhou
},
es: {
index: 'godspen',
type: 'doc',
host: '',
},
// redis 单节点
redis: {
host: '',
port: 6379
},
// redis 集群
// redis: [
// {host: '', port: 6390},
// {host: '', port: 6391},
// {host: '', port: 6390},
// ],
mail: {
host: '',
port: 465,
secure: true, // 端口号为465时,请设置为true
user: '[email protected]',
pass: '',
},
ADMIN_PATH: '/' // 开发环境下的一级路径,也可以为全路径 http://127.0.0.1:8567/
}