Skip to content

Instantly share code, notes, and snippets.

@masiuchi
Created May 2, 2018 07:29
Show Gist options
  • Save masiuchi/b1955854e2eaee23928f23c92d6fceab to your computer and use it in GitHub Desktop.
Save masiuchi/b1955854e2eaee23928f23c92d6fceab to your computer and use it in GitHub Desktop.
docker-compose.yml for OpenLDAP and phpLDAPadmin
version: '3'
services:
slapd:
image: osixia/openldap
environment:
LDAP_ORGANISATION: example
LDAP_DOMAIN: example.com
LDAP_ADMIN_PASSWORD: secret
ports:
- 389:389
phpldapadmin:
image: osixia/phpldapadmin
environment:
PHPLDAPADMIN_LDAP_HOSTS: slapd
PHPLDAPADMIN_HTTPS: 'false'
ports:
- 8080:80
depends_on:
- slapd
@MarcoGriep88
Copy link

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment