blob: fadf7144f6d39f4370300d654ada9b84f464e86b [file] [log] [blame]
Filip Pytloun7bc61fa2017-03-24 16:04:32 +01001parameters:
2 _param:
3 docker_image_phpldapadmin: osixia/phpldapadmin:0.6.12
4 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}
20 ports:
21 - 18089:80