Filip Pytloun | 7bc61fa | 2017-03-24 16:04:32 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
Filip Pytloun | ab1fa0d | 2017-03-30 16:16:03 +0200 | [diff] [blame] | 3 | docker_image_phpldapadmin: tcpcloud/phpldapadmin:0.6.12 |
Filip Pytloun | 7bc61fa | 2017-03-24 16:04:32 +0100 | [diff] [blame] | 4 | docker: |
| 5 | client: |
| 6 | service: |
| 7 | phpldapadmin: |
| 8 | restart: |
| 9 | condition: any |
| 10 | image: ${_param:docker_image_phpldapadmin} |
Filip Pytloun | f7bf52c | 2017-03-24 19:30:27 +0100 | [diff] [blame] | 11 | hosts: |
| 12 | ldap: |
| 13 | name: ldap.${_param:openldap_domain} |
| 14 | address: ${_param:cluster_vip_address} |
Filip Pytloun | 7bc61fa | 2017-03-24 16:04:32 +0100 | [diff] [blame] | 15 | environment: |
Filip Pytloun | f7bf52c | 2017-03-24 19:30:27 +0100 | [diff] [blame] | 16 | 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 Pytloun | 7bc61fa | 2017-03-24 16:04:32 +0100 | [diff] [blame] | 17 | PHPLDAPADMIN_HTTPS: false |
| 18 | PHPLDAPADMIN_TRUST_PROXY_SSL: true |
| 19 | PHPLDAPADMIN_SERVER_ADMIN: ${_param:admin_email} |
Filip Pytloun | ab1fa0d | 2017-03-30 16:16:03 +0200 | [diff] [blame] | 20 | PHPLDAPADMIN_THEME: mirantis |
Filip Pytloun | 7bc61fa | 2017-03-24 16:04:32 +0100 | [diff] [blame] | 21 | ports: |
| 22 | - 18089:80 |