blob: 25332c727d5781e04f4dccce72ca4532840015b7 [file] [log] [blame]
Filip Pytloun7bc61fa2017-03-24 16:04:32 +01001parameters:
2 _param:
Filip Pytlounab1fa0d2017-03-30 16:16:03 +02003 docker_image_phpldapadmin: tcpcloud/phpldapadmin:0.6.12
Filip Pytloun7bc61fa2017-03-24 16:04:32 +01004 docker:
5 client:
6 service:
7 phpldapadmin:
8 restart:
9 condition: any
10 image: ${_param:docker_image_phpldapadmin}
Filip Pytlounf7bf52c2017-03-24 19:30:27 +010011 hosts:
12 ldap:
13 name: ldap.${_param:openldap_domain}
14 address: ${_param:cluster_vip_address}
Filip Pytloun7bc61fa2017-03-24 16:04:32 +010015 environment:
Filip Pytlounf7bf52c2017-03-24 19:30:27 +010016 PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'ldap.${_param:openldap_domain}': [{'server': [{'tls': False}]},{'login': [{'bind_id': 'cn=admin,${_param:openldap_dn}'},{'bind_pass': '${_param:openldap_admin_password}'}]}]}]"
Filip Pytloun7bc61fa2017-03-24 16:04:32 +010017 PHPLDAPADMIN_HTTPS: false
18 PHPLDAPADMIN_TRUST_PROXY_SSL: true
19 PHPLDAPADMIN_SERVER_ADMIN: ${_param:admin_email}
Filip Pytlounab1fa0d2017-03-30 16:16:03 +020020 PHPLDAPADMIN_THEME: mirantis
Filip Pytloun7bc61fa2017-03-24 16:04:32 +010021 ports:
22 - 18089:80