From fb6959eab549fe8273573cc43b0c58961c0111d9 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 21 Apr 2021 22:06:54 +0300 Subject: [PATCH] LDAP web authentication. To be integrated with the Nginx web proxy. --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1258c69..595c91a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,20 @@ --- version: '3.5' services: + auth: + environment: + LDAP_BASE_DN: "ou=People,${LDAP_BASE_DN:-dc=shore,dc=co,dc=il}" + LDAP_OBJECTS_DN: "dn" + LDAP_OPENLDAP: !!str true + LDAP_REALM_NAME: shore.co.il authentication + LDAP_USER_OBJECT_FILTER: "(&(objectclass=inetOrgPerson)(uid=%s))" + SECRET_KEY: "${SECRET_KEY:-qwerty123}" + hostname: auth.shore.co.il + image: registry.shore.co.il/ldap-auth + restart: always + volumes: + - _run_slapd:/run/slapd + crond: build: context: crond/ -- GitLab