mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
da28eaf454
#ci_set_integration
22 lines
722 B
YAML
22 lines
722 B
YAML
version: '2.3'
|
|
services:
|
|
openldap:
|
|
image: bitnami/openldap:2.6.6
|
|
restart: always
|
|
environment:
|
|
LDAP_ROOT: dc=example,dc=org
|
|
LDAP_ADMIN_DN: cn=admin,dc=example,dc=org
|
|
LDAP_ADMIN_USERNAME: admin
|
|
LDAP_ADMIN_PASSWORD: clickhouse
|
|
LDAP_USER_DC: users
|
|
LDAP_USERS: janedoe,johndoe
|
|
LDAP_PASSWORDS: qwerty,qwertz
|
|
LDAP_PORT_NUMBER: ${LDAP_INTERNAL_PORT:-1389}
|
|
ports:
|
|
- ${LDAP_EXTERNAL_PORT:-1389}:${LDAP_INTERNAL_PORT:-1389}
|
|
healthcheck:
|
|
test: "ldapsearch -x -b dc=example,dc=org cn > /dev/null"
|
|
interval: 10s
|
|
retries: 10
|
|
timeout: 2s
|