mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-07-02 00:08:33 +02:00
29 lines
864 B
YAML
29 lines
864 B
YAML
version: '2'
|
|
|
|
services:
|
|
openldap:
|
|
image: bitnami/openldap:latest
|
|
#ports:
|
|
# - '1389:1389'
|
|
# - '1636:1636'
|
|
environment:
|
|
- LDAP_SKIP_DEFAULT_TREE=yes
|
|
- LDAP_ROOT=dc=sectorq,dc=eu
|
|
- LDAP_ADMIN_USERNAME=admin
|
|
- LDAP_ADMIN_PASSWORD=$LDAP_ADMIN_PASSWORD
|
|
- LDAP_USERS=test
|
|
- LDAP_PASSWORDS=q
|
|
- LDAP_GROUP=group
|
|
- LDAP_USER_DC=people
|
|
#- LDAP_CUSTOM_LDIF_DIR=/ldifs
|
|
- LDAP_CONFIG_ADMIN_ENABLED=yes
|
|
- LDAP_CONFIG_ADMIN_USERNAME=admin
|
|
- LDAP_CONFIG_ADMIN_PASSWORD=$LDAP_CONFIG_ADMIN_PASSWORD
|
|
#- LDAP_CUSTOM_SCHEMA_FILE=/custom/00-custom.ldif
|
|
#- LDAP_ENABLE_TLS
|
|
volumes:
|
|
- '/share/docker_data/openldap/data:/bitnami/openldap'
|
|
- '/share/docker_data/openldap/ldifs:/ldifs'
|
|
- '/share/docker_data/openldap/custom:/custom'
|
|
|
|
network_mode: host |