Filip Pytloun | 7bc61fa | 2017-03-24 16:04:32 +0100 | [diff] [blame] | 1 | parameters: |
| 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 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} |
| 20 | ports: |
| 21 | - 18089:80 |