2020-08-14 11:18:08 +00:00
|
|
|
---
|
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
ldap:
|
|
|
|
image: osixia/openldap
|
|
|
|
environment:
|
|
|
|
- LDAP_DOMAIN=mydomain.tld
|
|
|
|
volumes:
|
|
|
|
- ./docker/bootstrap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/50-boostrap.ldif:ro
|
2020-08-18 15:39:34 +00:00
|
|
|
- ./schemas/oauth2-openldap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/40-oauth2.ldif:ro
|
2020-08-14 11:18:08 +00:00
|
|
|
command: --copy-service
|
2020-08-18 15:39:34 +00:00
|
|
|
ports:
|
|
|
|
- 5389:389
|
|
|
|
- 5636:636
|
2020-08-14 11:18:08 +00:00
|
|
|
|
|
|
|
oauth:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
ports:
|
|
|
|
- 5000:5000
|
|
|
|
volumes:
|
|
|
|
- .:/app
|