Created
January 20, 2020 01:17
-
-
Save sgyyz/2792cba1810c884ea7f1798823afabfa to your computer and use it in GitHub Desktop.
OpenLdap & Phpldapadmin docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
openldap: | |
image: osixia/openldap:1.3.0 | |
ports: | |
- '389:389' | |
- '636:636' | |
phpldapadmin: | |
image: osixia/phpldapadmin:0.9.0 | |
depends_on: | |
- openldap | |
ports: | |
- '6443:443' | |
environment: | |
PHPLDAPADMIN_LDAP_HOSTS: openldap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to run it
Copy these content into your
docker-compose.yml
and rundocker-compose up
ordocker-compose up -d
Configuration
If you need other configuration, please refer to the
openldap
andphpldapadmin
docker hub document.Use it
https://localhost:6443
to access the PhpLdapAdmin UIcn=admin,dc=example,dc=org
as username, and password:admin