add ldap setup
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mauro Torrez
2019-10-12 16:21:32 -03:00
parent 4d82904c45
commit e447a48200
16 changed files with 656 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ RUN set -ex; \
php-mbstring \
php-curl \
ssl-cert \
sudo \
; \
\
rm -rf /var/lib/apt/lists/*
@@ -194,6 +195,29 @@ RUN \
rm /var/www/html/index.php /var/www/html/index.php.remove; \
}
ENV LDAP_ENABLE=false
ENV LDAP_HOST=
ENV LDAP_PORT=389
ENV LDAP_BACKUP_HOST=
ENV LDAP_BACKUP_PORT=389
ENV LDAP_DN=
ENV LDAP_AGENT_PASSWORD=
ENV LDAP_BASE=
ENV LDAP_BASE_USERS
ENV LDAP_BASE_GROUPS
# space-separated objectclass values
ENV LDAP_USERFILTER_OBJECTCLASS=inetOrgPerson
ENV LDAP_USERLIST_FILTER
ENV LDAP_LOGIN_FILTER
ENV LDAP_GROUPFILTER_OBJECTCLASS=organizationalRole
ENV LDAP_GROUP_FILTER
ENV LDAP_GID_NUMBER=gidNumber
ENV LDAP_DISPLAY_NAME=cn
ENV LDAP_USER_DISPLAY_NAME_2=
ENV LDAP_GROUP_DISPLAY_NAME=cn
ENV LDAP_EMAIL_ATTR=mail
ENV LDAP_GROUP_MEMBER_ASSOC_ATTRIBUTE=memberUid
EXPOSE 9000 9001 9002 9003 9010 9011 9012 9013
ENTRYPOINT ["/entrypoint.sh"]
STOPSIGNAL SIGTERM