2021-03-11 09:54:47 +02:00
|
|
|
version: "3.8"
|
2018-10-30 09:56:55 +02:00
|
|
|
|
2019-09-24 22:24:54 +02:00
|
|
|
services:
|
|
|
|
|
|
|
|
openldap:
|
2024-09-02 09:11:14 +02:00
|
|
|
image: bitnami/openldap:2.6
|
2019-09-24 22:24:54 +02:00
|
|
|
ports:
|
2024-09-02 09:11:14 +02:00
|
|
|
- "389:389"
|
|
|
|
- "636:636"
|
2019-09-24 22:24:54 +02:00
|
|
|
volumes:
|
2024-09-02 09:11:14 +02:00
|
|
|
- ./data:/bitnami/openldap
|
2019-09-24 22:24:54 +02:00
|
|
|
environment:
|
2024-09-02 09:11:14 +02:00
|
|
|
- LDAP_PORT_NUMBER=389
|
|
|
|
- LDAP_ROOT=dc=example,dc=org
|
|
|
|
- LDAP_ADMIN_USERNAME=admin
|
|
|
|
- LDAP_ADMIN_PASSWORD=admin
|
|
|
|
- LDAP_USERS=customuser
|
|
|
|
- LDAP_PASSWORDS=custompassword
|
|
|
|
- LDAP_ADMIN_DN=cn=admin,dc=example,dc=org
|
|
|
|
- LDAP_ENABLE_TLS=yes
|
|
|
|
- LDAP_REQUIRE_TLS=yes
|
|
|
|
- LDAP_LDAPS_PORT_NUMBER=636
|
|
|
|
- LDAP_TLS_CERT_FILE=/bitnami/openldap/certs/ldap.crt
|
|
|
|
- LDAP_TLS_KEY_FILE=/bitnami/openldap/certs/ldap.key
|
|
|
|
- LDAP_TLS_CA_FILE=/bitnami/openldap/certs/ca.crt
|
|
|
|
restart: unless-stopped
|