diff options
author | Alex Auvolat <alex@adnab.me> | 2021-08-16 14:36:14 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-08-16 14:36:14 +0200 |
commit | 9e3279b9c04bb07d108fa820a72841b4082c0979 (patch) | |
tree | 3d9a774cb12ea315bf525f21fbad4390a31ae6dd /config.json.example | |
parent | f00702b51c8904f9fb42a90a6e22301ae8d4014a (diff) | |
download | guichet-9e3279b9c04bb07d108fa820a72841b4082c0979.tar.gz guichet-9e3279b9c04bb07d108fa820a72841b4082c0979.zip |
Fail when no config file is given, add example in repo
Diffstat (limited to 'config.json.example')
-rw-r--r-- | config.json.example | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config.json.example b/config.json.example new file mode 100644 index 0000000..2631acc --- /dev/null +++ b/config.json.example @@ -0,0 +1,28 @@ +{ + "http_bind_addr": ":9991", + "ldap_server_addr": "ldap://127.0.0.1:389", + + "base_dn": "dc=example,dc=com", + "user_base_dn": "ou=users,dc=example,dc=com", + "user_name_attr": "uid", + "group_base_dn": "ou=groups,dc=example,dc=com", + "group_name_attr": "gid", + + "invitation_base_dn": "ou=invitations,dc=example,dc=com", + "invitation_name_attr": "cn", + "invited_mail_format": "{}@example.com", + "invited_auto_groups": [ + "cn=email,ou=groups,dc=example,dc=com" + ], + + "web_address": "https://guichet.example.com", + "mail_from": "welcome@example.com", + "smtp_server": "smtp.example.com", + "smtp_username": "guichet", + "smtp_password": "", + + "admin_account": "uid=admin,dc=example,dc=com", + "group_can_admin": "gid=admin,ou=groups,dc=example,dc=com", + "group_can_invite": "" +} + |