This commit is contained in:
parent
f30599b229
commit
ae30dbc1e6
1 changed files with 22 additions and 0 deletions
|
@ -22,6 +22,28 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
|
|
||||||
|
openldap:
|
||||||
|
image: osixia/openldap:latest
|
||||||
|
container_name: openldap
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
LDAP_ORGANISATION: "Schule"
|
||||||
|
LDAP_DOMAIN: "Schule.intern"
|
||||||
|
LDAP_ADMIN_PASSWORD: ${LDAP_ADMIN_PASSWORD}
|
||||||
|
ports:
|
||||||
|
- "389:389"
|
||||||
|
- "636:636"
|
||||||
|
volumes:
|
||||||
|
- openldap_data:/var/lib/ldap
|
||||||
|
- openldap_config:/etc/ldap/slapd.d
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "ldapsearch", "-x", "-H", "ldap://localhost", "-b", "dc=Schule,dc=intern"]
|
||||||
|
interval: 30s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
redis:
|
redis:
|
||||||
|
openldap_data:
|
||||||
|
openldap_config:
|
Loading…
Add table
Reference in a new issue