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

Commit 6aa8f8d

Browse files
committed
change env var key to correct one. change auto increment starting number
1 parent 05ca29d commit 6aa8f8d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# UID/GID auto increment starting number.
2+
# we want this relatively high so that we don't clash with other linux accounts on systems
3+
min_auto_number: 2000

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
version: '3.8'
44
services:
55

6-
76
main:
87
image: osixia/phpldapadmin:0.9.0
98
volumes:
@@ -12,9 +11,10 @@ services:
1211
environment:
1312
PHPLDAPADMIN_HTTPS: 'false'
1413
PHPLDAPADMIN_LDAP_CLIENT_TLS: 'true'
15-
PHPLDAPADMIN_HTTPS_CA_CRT_FILENAME: {{ ssl_cert_filename }}
14+
PHPLDAPADMIN_LDAP_CLIENT_TLS_CA_CRT_FILENAME: {{ ssl_cert_filename }}
1615
PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: try
17-
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': True}, {'port': 636}]},{'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'},{'bind_pass': '{{ admin_password }}'}]}]}]"
16+
#PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': True}, {'port': 636}]},{'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'},{'bind_pass': '{{ admin_password }}'}]}]}]"
17+
PHPLDAPADMIN_LDAP_HOSTS: "#PYTHON2BASH:[{'{{ domain }}': [{'server': [{'tls': True}, {'port': 636}]}, {'login': [{'bind_id': 'cn=admin,dc=diesel,dc=net'}, {'bind_pass': '{{ admin_password }}'}]}, {'auto_number': [{'min': {{ min_auto_number }} }]}]}]
1818
command: >
1919
--loglevel debug
2020
deploy:

0 commit comments

Comments
 (0)