-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.example.json
44 lines (44 loc) · 1018 Bytes
/
config.example.json
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
{
"name": "opentmi",
"listen": "127.0.0.1",
"port": 80,
"webtoken": "OpenTMI-toP-SeCRet-tOKEn",
"webtokenExpirationDays": 5,
"db": "mongodb://localhost/opentmi",
"filedb": "./data",
"auto-reload": false,
"autoInstallAddonDeps": true,
"silent": false,
"verbose": 1,
"sslcertKey": "./sslcert/server.key",
"sslcertCrt": "./sslcert/server.crt",
"admin": {
"user": "admin",
"pwd": "admin"
},
"smtp": {
"enabled": false,
"host": "smtp.gmail.com",
"port": 465,
"secure": true,
"auth": {
"user": "<username>",
"pass": "<password>"
}
},
"mongo": {
"sslValidate": true
},
"github": {
"clientID": "<client-id>",
"clientSecret": "<client-secret>",
"callbackURL": "http://localhost/auth/github/callback",
"organization": "<github-org>",
"adminTeam": "<admin-team>"
},
"google": {
"clientID": "<client-id>",
"clientSecret": "<client-secret>",
"callbackURL": "http://localhost/auth/github/callback"
}
}