39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
|
version: '3'
|
||
|
services:
|
||
|
slapd:
|
||
|
image: osixia/openldap:latest
|
||
|
volumes:
|
||
|
- ./certs:/container/service/slapd/assets/certs:rw
|
||
|
# - ./schema:/container/service/slapd/assets/config/bootstrap/schema/custom
|
||
|
ports:
|
||
|
- 389:389
|
||
|
- 636:636
|
||
|
environment:
|
||
|
LDAP_ORGANISATION: example
|
||
|
LDAP_DOMAIN: example.org
|
||
|
LDAP_ADMIN_PASSWORD: admin
|
||
|
LDAP_CONFIG_PASSWORD: "config"
|
||
|
LDAP_READONLY_USER: "true"
|
||
|
LDAP_READONLY_USER_USERNAME: "readonly"
|
||
|
LDAP_READONLY_USER_PASSWORD: "readonly"
|
||
|
LDAP_TLS: "true"
|
||
|
LDAP_TLS_CRT_FILENAME: "ldap.crt"
|
||
|
LDAP_TLS_KEY_FILENAME: "ldap.key"
|
||
|
LDAP_TLS_CA_CRT_FILENAME: "ca.crt"
|
||
|
LDAP_TLS_ENFORCE: "false"
|
||
|
LDAP_TLS_CIPHER_SUITE: "SECURE256:-VERS-SSL3.0"
|
||
|
LDAP_TLS_PROTOCOL_MIN: "3.1"
|
||
|
LDAP_TLS_VERIFY_CLIENT: try
|
||
|
LDAP_REPLICATION: "false"
|
||
|
|
||
|
phpldapadmin:
|
||
|
image: osixia/phpldapadmin
|
||
|
environment:
|
||
|
PHPLDAPADMIN_LDAP_HOSTS: slapd
|
||
|
PHPLDAPADMIN_HTTPS: 'false'
|
||
|
ports:
|
||
|
- 8080:80
|
||
|
- 4443:443
|
||
|
depends_on:
|
||
|
- slapd
|