Skip to content

Commit a384347

Browse files
committed
added secured ports for ldap servers
1 parent 0626501 commit a384347

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/feature/docker-compose.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,16 @@ services:
138138
- LDAP_USERS=regress
139139
- LDAP_PASSWORDS=12345678
140140
- LDAP_PORT_NUMBER=389
141+
- LDAP_LDAPS_PORT_NUMBER=636
141142
ports:
142143
- "1389:389"
144+
- "1636:636"
143145
healthcheck:
144146
test: ldapwhoami -D "cn=regress,ou=users,dc=example,dc=com" -w 12345678
145147
interval: 10s
146148
timeout: 3s
147149
retries: 50
148-
150+
149151
ldapserver2:
150152
image: "bitnami/openldap:latest"
151153
hostname: regress_ldap_server_2
@@ -157,8 +159,10 @@ services:
157159
- LDAP_USERS=regress
158160
- LDAP_PASSWORDS=12345678
159161
- LDAP_PORT_NUMBER=389
162+
- LDAP_LDAPS_PORT_NUMBER=636
160163
ports:
161164
- "2389:389"
165+
- "2636:636"
162166
healthcheck:
163167
test: ldapwhoami -D "cn=regress,ou=users,dc=example,dc=com" -w 12345678
164168
interval: 10s

0 commit comments

Comments
 (0)