mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
42 lines
No EOL
1.3 KiB
Text
42 lines
No EOL
1.3 KiB
Text
{
|
|
"production": {
|
|
"protocolUseSSL": true,
|
|
"domain": "__DOMAIN__",
|
|
"port": "__PORT__",
|
|
"loglevel": "info",
|
|
"useCDN": false,
|
|
"allowGravatar": false,
|
|
"allowPDFExport": false,
|
|
"hsts": {
|
|
"enable": true,
|
|
"maxAgeSeconds": 31536000,
|
|
"includeSubdomains": true,
|
|
"preload": true
|
|
},
|
|
"csp": {
|
|
"enable": true,
|
|
"directives": {
|
|
},
|
|
"upgradeInsecureRequests": "auto",
|
|
"addDefaults": true,
|
|
"addDisqus": true,
|
|
"addGoogleAnalytics": false
|
|
},
|
|
"db": {
|
|
"username": "__DB_USER__",
|
|
"password": "__DB_PASS__",
|
|
"database": "__DB_NAME__",
|
|
"host": "localhost",
|
|
"port": "5432",
|
|
"dialect": "postgres"
|
|
},
|
|
"ldap": {
|
|
"url": "ldap://127.0.0.1:389",
|
|
"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"
|
|
}
|
|
}
|
|
} |