| docker_image_openldap: osixia/openldap:1.1.8 |
| docker_image_phpldapadmin: mirantis/phpldapadmin:0.6.12 |
| image: ${_param:docker_image_openldap} |
| domainname: ${_param:openldap_domain} |
| - /srv/volumes/openldap/database:/var/lib/ldap |
| - /srv/volumes/openldap/config:/etc/ldap/slapd.d |
| HOSTNAME: ldap01.${_param:openldap_domain} |
| LDAP_ORGANISATION: "${_param:openldap_organisation}" |
| LDAP_DOMAIN: "${_param:openldap_domain}" |
| LDAP_ADMIN_PASSWORD: ${_param:openldap_admin_password} |
| LDAP_CONFIG_PASSWORD: ${_param:openldap_config_password} |
| image: ${_param:docker_image_phpldapadmin} |
| PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'server': [{'server': [{'tls': False}]},{'login': [{'bind_id': 'cn=admin,${_param:openldap_dn}'},{'bind_pass': '${_param:openldap_admin_password}'}]}]}]" |
| PHPLDAPADMIN_HTTPS: "false" |
| PHPLDAPADMIN_TRUST_PROXY_SSL: "true" |
| PHPLDAPADMIN_SERVER_ADMIN: ${_param:admin_email} |
| PHPLDAPADMIN_THEME: mirantis |