Skip to content

Instantly share code, notes, and snippets.

@wshihadeh
Created January 19, 2020 09:19
Show Gist options
  • Save wshihadeh/3231e3a72b6479838c582b8577557e60 to your computer and use it in GitHub Desktop.
Save wshihadeh/3231e3a72b6479838c582b8577557e60 to your computer and use it in GitHub Desktop.
LDAP Docker compose file
version: '3.7'
services:
ldap_server:
image: wshihadeh/openldap:withdata
environment:
LDAP_ADMIN_PASSWORD: test1234
LDAP_BASE_DN: dc=shihadeh,dc=intern
ports:
- 389:389
volumes:
- ldap_data:/var/lib/ldap
- ldap_config:/etc/ldap/slapd.d
ldap_server_admin:
image: osixia/phpldapadmin:0.7.2
ports:
- 8090:80
environment:
PHPLDAPADMIN_LDAP_HOSTS: ldap_server
PHPLDAPADMIN_HTTPS: 'false'
volumes:
ldap_data:
ldap_config:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment