blob: 3a6d2e4a1348fffc1acec16922d2bec0d57e65cf [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}
11 environment:
12 PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH: [{'ldap.${_param:cluster_public_host}': [{'server': [{'tls': False}, {'host': '${_param:cluster_vip_address}'}, {'port': 389}]}, {'login': [{'bind_id': 'cn=admin'}, {'bind_pass': '${_param:openldap_admin_password}'}]}]}]"
13 PHPLDAPADMIN_HTTPS: false
14 PHPLDAPADMIN_TRUST_PROXY_SSL: true
15 PHPLDAPADMIN_SERVER_ADMIN: ${_param:admin_email}
16 ports:
17 - 18089:80