Files
dex/docker-compose.test.yaml
Maksim Nabokikh d2928d394b Fix scheme for DialURL ldap connection (#3677)
* Use scheme without :// suffix
* Make test ldap server listen on custom ports to avoid stepping into go-ldap defaults

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2024-08-06 07:57:51 +02:00

19 lines
695 B
YAML

version: "3.8"
services:
ldap:
image: osixia/openldap:1.4.0
# Copying is required because the entrypoint modifies the *.ldif files.
# For verbose output, use: command: ["--copy-service", "--loglevel", "debug"]
command: ["--copy-service"]
environment:
LDAP_BASE_DN: "dc=example,dc=org"
LDAP_TLS: "true"
LDAP_TLS_VERIFY_CLIENT: try
ports:
- 3890:389
- 6360:636
volumes:
- ./connector/ldap/testdata/certs:/container/service/slapd/assets/certs
- ./connector/ldap/testdata/schema.ldif:/container/service/slapd/assets/config/bootstrap/ldif/99-schema.ldif