Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit c64a63d

Browse files
committed
mount certs into known location
1 parent bcbaabd commit c64a63d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.ansible/templates/docker-compose.yaml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ services:
88
image: osixia/phpldapadmin:0.9.0
99
volumes:
1010
- /etc/localtime:/etc/localtime
11-
- {{ ssl_cert_dir }}/:/etc/ssl/certs/
11+
- {{ ssl_cert_dir }}:/container/service/phpldapadmin/assets/apache2/certs
1212
environment:
1313
PHPLDAPADMIN_HTTPS: 'false'
1414
#PHPLDAPADMIN_TRUST_PROXY_SSL: 'true'
15-
PHPLDAPADMIN_LDAP_CLIENT_TLS: 'false'
16-
#PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: try
15+
PHPLDAPADMIN_LDAP_CLIENT_TLS: 'true'
16+
PHPLDAPADMIN_HTTPS_CA_CRT_FILENAME: {{ ssl_cert_filename }}
17+
PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: try
1718
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': False}, {'port': 389}]},{'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'},{'bind_pass': '{{ admin_password }}'}]}]}]"
1819
command: >
1920
--loglevel debug

0 commit comments

Comments
 (0)