mirror of
https://github.com/netbirdio/dex.git
synced 2026-05-22 18:43:53 -07:00
d2928d394b
* 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>
19 lines
695 B
YAML
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
|