-
Notifications
You must be signed in to change notification settings - Fork 10
/
deploy.config.js
65 lines (64 loc) · 1.64 KB
/
deploy.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
module.exports = {
port: 80,
mongodb: {
ip: "127.0.0.1",
port: "27017",
database: "webdeploy",
username: null,
password: null
},
user: {
name: 'admin',
email: '[email protected]',
password: 'xxxxxxx'
},
email: {
host: 'smtp.163.com',
port: 465,
username: 'xxxxxxxxxxx',
password: "xxxxxxxxxxxx",
},
ws: {
port: 3006
},
oauth: {
github: {
state: true,
user_agent: " ",
client_ID: " ",
client_Secret: " ",
authorize_url: "https://github.com/login/oauth/authorize",
access_token_url: "https://github.com/login/oauth/access_token",
user_info_url: "https://api.github.com/user",
redirect_uri: "http://127.0.0.1/login"
},
gitee: {
state: true,
user_agent: "",
client_ID: "",
client_Secret: "",
authorize_url: "https://gitee.com/oauth/authorize",
access_token_url: "https://gitee.com/oauth/token",
user_info_url: "https://gitee.com/api/v5/user",
redirect_uri: "http://127.0.0.1/login"
},
gitlab: {
state: true,
client_ID: "",
client_Secret: "",
authorize_url: "http://127.0.0.1/oauth/authorize",
access_token_url: "http://127.0.0.1/oauth/token",
user_info_url: "http://127.0.0.1/api/v4/user",
redirect_uri: "http://127.0.0.1/login"
},
gitea: {
state: true,
client_ID: "",
client_Secret: "",
authorize_url: "http://127.0.0.1/login/oauth/authorize",
access_token_url: "http://127.0.0.1/login/oauth/access_token",
user_info_url: "http://127.0.0.1/api/v1/user",
redirect_uri: "http://127.0.0.1/login"
}
}
}