ansible/roles/codimd/templates/config.json.j2

40 lines
1.2 KiB
Text
Raw Normal View History

2019-02-09 10:02:53 +01:00
{
"production": {
"domain": "codimd.auro.re",
"debug": false,
"port": 8080,
"useSSL": false,
"protocolUseSSL": true,
"useCDN": false,
"csp": {
"enable": true,
"directives": {
},
"upgradeInsecureRequests": "auto",
"addDefaults": true
},
"db": {
"username": "codimd",
"password": "{{ postgresql_codimd_passwd }}",
"database": "codimd",
"host": "{{ postgresql_services_url }}",
"port": "5432",
"dialect": "postgres"
},
"email": false,
"ldap": {
"url": "{{ ldap_master_uri }}",
2019-02-09 11:47:09 +01:00
"bindDn": "{{ ldap_codimd_bind_dn }}",
"bindCredentials": "{{ ldap_codimd_password }}",
"searchBase": "cn=Utilisateurs,dc=auro,dc=re",
"searchFilter": "(uid={% raw %}{{username}}{% endraw %})",
"searchAttributes": ["uid", "givenName", "mail"],
"usernameField": "uid",
"useridField": "uid",
"providerName": "Compte Aurore"
2019-02-09 10:02:53 +01:00
},
"allowFreeURL": true
}
}