Skip to content
Snippets Groups Projects
Commit f87f1b7e authored by nimrod's avatar nimrod
Browse files

Set default value for phpLDAPadmin to use ldapi as the ldap host.

parent 44aa2406
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,6 @@ services:
volumes:
- _run_ldap:/run/slapd
environment:
PLA_HOST: ldapi://%2frun%2fslapd%2fldapi
PLA_BASE_DN: 'dc=nowhere,dc=com'
PLA_BIND_ID: 'cn=admin,dc=nowhere,dc=com'
ports:
......
......@@ -6,5 +6,6 @@ RUN apk add --update --no-cache phpldapadmin php5-apache2 php5-openssl && \
COPY --chown=root:root config.php /usr/share/webapps/phpldapadmin/config/
COPY --chown=root:root phpldapadmin.conf /etc/apache2/conf.d/
ENV PLA_HOST=ldapi://%2frun%2fslapd%2fldapi
CMD [ "httpd", "-DFOREGROUND" ]
HEALTHCHECK CMD wget --spider --quiet http://localhost/htdocs/index.php || exit 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment