Skip to content

Commit b233a3d

Browse files
committed
docs
1 parent 68fd600 commit b233a3d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# osixia/phpldapadmin
22

3-
[![](https://badge.imagelayers.io/osixia/phpldapadmin:latest.svg)](https://imagelayers.io/?images=osixia/phpldapadmin:latest 'Get your own badge on imagelayers.io') | Latest release: 0.6.8 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/phpldapadmin/) 
3+
[![](https://badge.imagelayers.io/osixia/phpldapadmin:latest.svg)](https://imagelayers.io/?images=osixia/phpldapadmin:latest 'Get your own badge on imagelayers.io') | Latest release: 0.6.8 - phpLDAPadmin 1.2.3 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/phpldapadmin/) 
44

55
A docker image to run phpLDAPadmin.
66
> [phpldapadmin.sourceforge.net](http://phpldapadmin.sourceforge.net)
@@ -48,12 +48,15 @@ Example script:
4848
LDAP_CID=$(docker run --hostname ldap.example.org --detach osixia/openldap:1.1.1)
4949
LDAP_IP=$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" $LDAP_CID)
5050

51-
# Run phpLDAPadmin and set ldap host to ldap ip
51+
# Run phpLDAPadmin and set ldap host to ldap container ip
5252
PHPLDAP_CID=$(docker run --hostname phpldapadmin.example.org --env PHPLDAPADMIN_LDAP_HOSTS=$LDAP_IP --detach osixia/phpldapadmin:0.6.8)
5353

5454
# We get phpLDAPadmin container ip
5555
PHPLDAP_IP=$(docker inspect -f "{{ .NetworkSettings.IPAddress }}" $PHPLDAP_CID)
5656

57+
echo "Ldap container IP: $LDAP_IP"
58+
echo "phpLDADadmin container IP $PHPLDAP_IP"
59+
echo ""
5760
echo "Go to: https://$PHPLDAP_IP"
5861
echo "Login DN: cn=admin,dc=example,dc=org"
5962
echo "Password: admin"

0 commit comments

Comments
 (0)