11# docker-phpLDAPadmin
22
3- A version of the [ osixia/phpldapadmin ] [ 1 ] image with the following improvements:
3+ A docker.io image to run phpLDAPadmin
44
5- - A [ bug on not finding "password_hash" when trying to create a new user] [ 2 ] is fixed
6- - phpLDAPadmin is also exposed via HTTPS on port 443 (using a self-signed certificate)
5+ ## Quick start
76
8- ### Quick start
9- Run docker image with your custom environment variables :
7+ ### Get phpLDAPadmin in 1''
8+ Run docker container with your custom environment variables :
109
11- docker run -p 80:80 -p 443:443 \
10+ sudo docker.io run -p 443:443 \
1211 -e LDAP_HOST=ldap.example.com \
1312 -e LDAP_BASE_DN=dc=example,dc=com \
1413 -e LDAP_LOGIN_DN=cn=admin,dc=example,dc=com \
15- -d windfisch/phpldapadmin
14+ -d osixia/phpldapadmin
15+
16+ phpLDAPadmin should be running on https://localhost
17+
18+ ### Whant more ? Openldap & phpLDAPadmin in 2''
19+
20+ First launch openldap:
21+
22+ sudo docker.io run -p 443:443 \
23+ -e LDAP_HOST=ldap.example.com \
24+ -e LDAP_BASE_DN=dc=example,dc=com \
25+ -e LDAP_LOGIN_DN=cn=admin,dc=example,dc=com \
26+ -d osixia/phpldapadmin
27+
28+ More information : https://github.com/osixia/docker-openldap
29+
30+ Then run phpLDAPadmin image linked to openldap container
31+
32+ Then link openldap container to phpLDAPadmin container:
1633
17- phpLDAPadmin should be running on http://localhost and https://localhost
1834
1935### nginx SSL configuration
2036
@@ -40,4 +56,4 @@ Build image
4056 docker build -t phpldapadmin .
4157
4258[ 1 ] : https://github.com/osixia/docker-phpLDAPadmin
43- [ 2 ] : http://stackoverflow.com/questions/20673186/getting-error-for-setting-password-feild-when-creating-generic-user-account-phpl
59+ [ 2 ] : http://stackoverflow.com/questions/20673186/getting-error-for-setting-password-feild-when-creating-generic-user-account-phpl
0 commit comments