2016-10-05 02:58:05 +00:00
|
|
|
{
|
2016-12-22 14:03:04 +00:00
|
|
|
"test": {
|
2016-12-24 14:04:18 +00:00
|
|
|
"db": {
|
|
|
|
"dialect": "sqlite",
|
2017-02-04 05:31:37 +00:00
|
|
|
"storage": ":memory:"
|
2016-12-24 14:04:18 +00:00
|
|
|
}
|
2016-12-22 14:03:04 +00:00
|
|
|
},
|
2016-10-05 02:58:05 +00:00
|
|
|
"development": {
|
|
|
|
"db": {
|
2017-02-04 05:31:37 +00:00
|
|
|
"dialect": "sqlite",
|
|
|
|
"storage": "./db.hackmd.sqlite"
|
2016-10-05 02:58:05 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"domain": "localhost",
|
|
|
|
"db": {
|
|
|
|
"username": "",
|
|
|
|
"password": "",
|
|
|
|
"database": "hackmd",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": "5432",
|
|
|
|
"dialect": "postgres"
|
|
|
|
},
|
|
|
|
"facebook": {
|
|
|
|
"clientID": "change this",
|
|
|
|
"clientSecret": "change this"
|
|
|
|
},
|
|
|
|
"twitter": {
|
|
|
|
"consumerKey": "change this",
|
|
|
|
"consumerSecret": "change this"
|
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"clientID": "change this",
|
|
|
|
"clientSecret": "change this"
|
|
|
|
},
|
|
|
|
"gitlab": {
|
|
|
|
"baseURL": "change this",
|
|
|
|
"clientID": "change this",
|
|
|
|
"clientSecret": "change this"
|
|
|
|
},
|
|
|
|
"dropbox": {
|
|
|
|
"clientID": "change this",
|
2017-01-14 06:17:20 +00:00
|
|
|
"clientSecret": "change this",
|
|
|
|
"appKey": "change this"
|
2016-10-05 02:58:05 +00:00
|
|
|
},
|
|
|
|
"google": {
|
|
|
|
"clientID": "change this",
|
2017-01-14 06:17:20 +00:00
|
|
|
"clientSecret": "change this",
|
|
|
|
"apiKey": "change this"
|
2016-10-05 02:58:05 +00:00
|
|
|
},
|
2016-12-13 21:31:35 +00:00
|
|
|
"ldap": {
|
|
|
|
"url": "ldap://change_this",
|
|
|
|
"bindDn": null,
|
|
|
|
"bindCredentials": null,
|
|
|
|
"tokenSecret": "change this",
|
|
|
|
"searchBase": "change this",
|
|
|
|
"searchFilter": "change this",
|
|
|
|
"searchAttributes": "change this",
|
|
|
|
"tlsOptions": {
|
|
|
|
"changeme": "See https://nodejs.org/api/tls.html#tls_tls_connect_options_callback"
|
|
|
|
}
|
|
|
|
},
|
2016-10-05 02:58:05 +00:00
|
|
|
"imgur": {
|
|
|
|
"clientID": "change this"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|