1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
codimd_ynh/conf/config.json.example

54 lines
1.5 KiB
Text
Raw Normal View History

2018-11-21 16:35:21 +01:00
{
"production": {
2019-11-28 02:05:34 +01:00
"protocolUseSSL": true,
"domain": "__DOMAIN__",
2020-05-25 14:13:00 +02:00
"port": "__PORT__",
2020-07-02 06:59:57 +02:00
"urlPath": "__PATH__",
2019-11-28 02:05:34 +01:00
"loglevel": "info",
"useCDN": false,
"allowGravatar": false,
2020-06-15 10:13:59 +02:00
"allowFreeURL": false,
2020-06-22 18:33:34 +02:00
"allowAnonymousEdits": true,
"defaultPermission": "locked",
"email": true,
"allowEmailRegister": true,
"imageUploadType": "filesystem",
2018-11-21 16:35:21 +01:00
"hsts": {
"enable": true,
2019-11-28 02:05:34 +01:00
"maxAgeSeconds": 31536000,
2018-11-21 16:35:21 +01:00
"includeSubdomains": true,
"preload": true
},
"csp": {
"enable": true,
"directives": {
},
"upgradeInsecureRequests": "auto",
"addDefaults": true,
"addDisqus": true,
2020-05-21 12:49:24 +02:00
"addGoogleAnalytics": false
2018-11-21 16:35:21 +01:00
},
"db": {
2018-11-21 17:26:37 +01:00
"username": "__DB_USER__",
"password": "__DB_PASS__",
"database": "__DB_NAME__",
2018-11-21 16:35:21 +01:00
"host": "localhost",
2020-05-23 09:14:00 +02:00
"port": "5432",
"dialect": "postgres"
2020-05-27 23:41:23 +02:00
},
"ldap": {
2020-05-28 08:34:50 +02:00
"url": "ldap://127.0.0.1:389",
2020-05-28 17:54:27 +02:00
"bindDn": null,
"bindCredentials": null,
"searchBase": "ou=users,dc=yunohost,dc=org",
2020-05-28 17:57:12 +02:00
"searchFilter": "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
2020-05-28 17:54:27 +02:00
"usernameField": "cn",
2020-05-28 18:00:00 +02:00
"useridField": "uid",
"providerName": "YunoHost"
2020-06-09 11:21:31 +02:00
}
2018-11-21 16:35:21 +01:00
}
2020-05-28 17:54:27 +02:00
}