aboutsummaryrefslogtreecommitdiff
path: root/app/config/configuration/directory/guichet
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-09-12 20:17:07 +0200
committerQuentin <quentin@deuxfleurs.fr>2020-09-12 20:17:07 +0200
commita23e08ce20887efb4e158a02ffee1f775a0db89f (patch)
tree493a2cef5496aec74e57ad453574fdef6856f92b /app/config/configuration/directory/guichet
parentfb4ffbc7faa0d123ce9bf817d240a8c670c494e3 (diff)
downloadinfrastructure-a23e08ce20887efb4e158a02ffee1f775a0db89f.tar.gz
infrastructure-a23e08ce20887efb4e158a02ffee1f775a0db89f.zip
Refactor 2
Diffstat (limited to 'app/config/configuration/directory/guichet')
-rw-r--r--app/config/configuration/directory/guichet/config.json.tpl30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/config/configuration/directory/guichet/config.json.tpl b/app/config/configuration/directory/guichet/config.json.tpl
new file mode 100644
index 0000000..98e2297
--- /dev/null
+++ b/app/config/configuration/directory/guichet/config.json.tpl
@@ -0,0 +1,30 @@
+{
+ "http_bind_addr": ":9991",
+ "ldap_server_addr": "ldap://bottin2.service.2.cluster.deuxfleurs.fr:389",
+
+ "base_dn": "dc=deuxfleurs,dc=fr",
+ "user_base_dn": "ou=users,dc=deuxfleurs,dc=fr",
+ "user_name_attr": "cn",
+ "group_base_dn": "ou=groups,dc=deuxfleurs,dc=fr",
+ "group_name_attr": "cn",
+
+ "invitation_base_dn": "ou=invitations,dc=deuxfleurs,dc=fr",
+ "invitation_name_attr": "cn",
+ "invited_mail_format": "{}@deuxfleurs.fr",
+ "invited_auto_groups": [
+ "cn=email,ou=groups,dc=deuxfleurs,dc=fr",
+ "cn=seafile,ou=groups,dc=deuxfleurs,dc=fr",
+ "cn=nextcloud,ou=groups,dc=deuxfleurs,dc=fr"
+ ],
+
+ "web_address": "https://guichet.deuxfleurs.fr",
+ "mail_from": "coucou@deuxfleurs.fr",
+ "smtp_server": "adnab.me:25",
+ "smtp_username": "{{ key "secrets/directory/guichet/smtp_user" | trimSpace }}",
+ "smtp_password": "{{ key "secrets/directory/guichet/smtp_pass" | trimSpace }}",
+
+ "admin_account": "cn=admin,dc=deuxfleurs,dc=fr",
+ "group_can_admin": "cn=admin,ou=groups,dc=deuxfleurs,dc=fr",
+ "group_can_invite": "cn=asso_deuxfleurs,ou=groups,dc=deuxfleurs,dc=fr"
+}
+