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

42 lines
1.3 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__",
2019-11-28 02:05:34 +01:00
"loglevel": "info",
"useCDN": false,
"allowGravatar": false,
2020-05-21 12:49:24 +02:00
"allowPDFExport": false,
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-27 23:41:23 +02:00
"bindDn": "ou=users,dc=yunohost,dc=org",
"bindCredentials": "<super secret password>",
"searchBase": "dc=internal,dc=example,dc=com",
"searchFilter": "(&(objectcategory=person)(objectclass=user)(|(sAMAccountName={{username}})(mail={{username}})))",
"useridField": "uid"
2020-05-21 14:24:25 +02:00
}
2018-11-21 16:35:21 +01:00
}
}