2020-11-19 21:41:03 +01:00
|
|
|
{
|
|
|
|
"production": {
|
|
|
|
"protocolUseSSL": true,
|
|
|
|
"domain": "__DOMAIN__",
|
|
|
|
"port": "__PORT__",
|
2022-02-01 14:11:16 +01:00
|
|
|
"urlPath": "__URL_PATH__",
|
2020-11-19 21:41:03 +01:00
|
|
|
"loglevel": "info",
|
|
|
|
"useCDN": false,
|
|
|
|
"allowGravatar": false,
|
2023-01-21 12:24:42 +01:00
|
|
|
"allowFreeURL": __ALLOW_FREE_URL__,
|
2023-01-21 12:31:14 +01:00
|
|
|
"requireFreeURLAuthentication": __REQUIRE_FREE_URL_AUTHENTICATION__,
|
2022-11-07 21:30:12 +01:00
|
|
|
"allowAnonymous": __ALLOW_ANONYMOUS__,
|
2023-01-21 12:35:07 +01:00
|
|
|
"allowAnonymousEdits": __ALLOW_ANONYMOUS_EDITS__,
|
2020-11-19 21:41:03 +01:00
|
|
|
"defaultPermission": "locked",
|
|
|
|
"email": true,
|
2022-11-07 21:30:12 +01:00
|
|
|
"allowEmailRegister": __ALLOW_EMAIL_REGISTRATION__,
|
2020-11-19 21:41:03 +01:00
|
|
|
"imageUploadType": "filesystem",
|
|
|
|
"tooBusyLag": 1000,
|
|
|
|
"hsts": {
|
|
|
|
"enable": true,
|
|
|
|
"maxAgeSeconds": 31536000,
|
|
|
|
"includeSubdomains": true,
|
|
|
|
"preload": true
|
|
|
|
},
|
|
|
|
"csp": {
|
|
|
|
"enable": true,
|
|
|
|
"directives": {
|
|
|
|
},
|
|
|
|
"upgradeInsecureRequests": "auto",
|
|
|
|
"addDefaults": true,
|
|
|
|
"addDisqus": true,
|
2022-03-23 18:44:11 +01:00
|
|
|
"allowFraming": false,
|
2020-11-19 21:41:03 +01:00
|
|
|
"addGoogleAnalytics": false
|
|
|
|
},
|
2022-03-23 18:48:06 +01:00
|
|
|
"minio": {
|
|
|
|
"accessKey": "",
|
|
|
|
"secretKey": "",
|
|
|
|
"endPoint": "localhost",
|
|
|
|
"port": 9000,
|
|
|
|
"secure": false
|
|
|
|
},
|
2020-11-19 21:41:03 +01:00
|
|
|
"db": {
|
2022-02-01 14:11:16 +01:00
|
|
|
"username": "__DB_USER__",
|
2021-03-12 22:47:43 +01:00
|
|
|
"password": "__DB_PWD__",
|
2020-11-19 21:41:03 +01:00
|
|
|
"database": "__DB_NAME__",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": "5432",
|
|
|
|
"dialect": "postgres"
|
|
|
|
},
|
|
|
|
"ldap": {
|
|
|
|
"url": "ldap://127.0.0.1:389",
|
|
|
|
"bindDn": null,
|
|
|
|
"bindCredentials": null,
|
|
|
|
"searchBase": "ou=users,dc=yunohost,dc=org",
|
|
|
|
"searchFilter": "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
|
|
|
|
"usernameField": "cn",
|
|
|
|
"useridField": "uid",
|
|
|
|
"providerName": "YunoHost"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|