From 9b913627309f9619938cdbcb7ecf880097311b93 Mon Sep 17 00:00:00 2001 From: dada513 Date: Fri, 10 Jun 2022 18:20:45 +0200 Subject: [PATCH] add wg-portal example --- example_configs/wg_portal.env.example | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 example_configs/wg_portal.env.example diff --git a/example_configs/wg_portal.env.example b/example_configs/wg_portal.env.example new file mode 100644 index 0000000..539c8be --- /dev/null +++ b/example_configs/wg_portal.env.example @@ -0,0 +1,16 @@ +# Config for wg-portal (https://github.com/h44z/wg-portal) +# Replace dc=example,dc=com with your base DN + +# Connection to LLDAP +# Remember that wg-portal requires host networking when ran in docker, so you cannot use docker networks to manage this +LDAP_URL: ldap://localhost:3890 + +LDAP_BASEDN: "dc=example,dc=com" +LDAP_USER: "uid=admin,ou=people,dc=example,dc=com" +LDAP_PASSWORD: "CHANGEME" + +LDAP_LOGIN_FILTER: "(&(objectClass=person)(mail={{login_identifier}}))" +LDAP_SYNC_FILTER: "(&(objectClass=person)(mail=*))" +LDAP_ADMIN_GROUP: "uid=everyone,ou=groups,dc=example,dc=com" +LDAP_ATTR_EMAIL: "mail" +LDAP_STARTTLS: "false"