summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-01-18 11:47:42 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-01-18 11:47:42 +0100
commit623f10b8447b87246192f750b5ea41cb4326c897 (patch)
tree73b2a8e16377e16c2d43eb1dee122171607b3ab2 /share
parentf34e0b4a33d0bbe32726fffd44f174341f795924 (diff)
downloadpykolab-623f10b8447b87246192f750b5ea41cb4326c897.tar.gz
Add routines to set up manticore
Diffstat (limited to 'share')
-rw-r--r--share/templates/manticore.js.tpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/share/templates/manticore.js.tpl b/share/templates/manticore.js.tpl
new file mode 100644
index 0000000..2a8a913
--- /dev/null
+++ b/share/templates/manticore.js.tpl
@@ -0,0 +1,31 @@
+'use strict';
+
+// Use local.env.js for environment variables that grunt will set when the server starts locally.
+// Use for your api keys, secrets, etc. This file should not be tracked by git.
+//
+// You will need to set these on the server you deploy to.
+
+module.exports = {
+ DOMAIN: 'http://$fqdn:8080',
+ SESSION_SECRET: 'manticore-secret',
+
+ // Control debug level for modules using visionmedia/debug
+ DEBUG: '',
+
+ DEFAULT_ACCESS: 'deny',
+
+ AUTH: 'ldap',
+ STORAGE: 'chwala',
+
+ CHWALA_SERVER: 'http://$fqdn/chwala/api/document',
+ ROUNDCUBE_SERVER: 'http://$fqdn/roundcubemail',
+
+ AUTH_ENCRYPTION_KEY: 'suchauth123muchkey456',
+
+ LDAP_SERVER: 'ldap://$server_host:389',
+ LDAP_BASE: '$user_base_dn',
+ LDAP_FILTER: '(&(objectclass=kolabinetorgperson)(|(uid={{username}})(mail={{username}})))',
+ LDAP_BIND_DN: '$service_bind_dn',
+ LDAP_BIND_PW: '$service_bind_pw'
+
+};