mirror of
https://github.com/luzifer-docker/codimd.git
synced 2024-11-08 14:20:11 +00:00
64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"test": {
|
|
"db": {
|
|
"dialect": "sqlite",
|
|
"storage": ":memory:"
|
|
}
|
|
},
|
|
"development": {
|
|
"db": {
|
|
"dialect": "sqlite",
|
|
"storage": "./db.hackmd.sqlite"
|
|
}
|
|
},
|
|
"production": {
|
|
"domain": "localhost",
|
|
"db": {
|
|
"dialect": "sqlite",
|
|
"storage": "/data/db.sqlite"
|
|
},
|
|
"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",
|
|
"scope": "use 'read_user' scope for auth user only or remove this property if you need gitlab snippet import/export support (will result to be default scope 'api')"
|
|
},
|
|
"dropbox": {
|
|
"clientID": "change this",
|
|
"clientSecret": "change this",
|
|
"appKey": "change this"
|
|
},
|
|
"google": {
|
|
"clientID": "change this",
|
|
"clientSecret": "change this",
|
|
"apiKey": "change this"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"imgur": {
|
|
"clientID": "change this"
|
|
}
|
|
}
|
|
}
|