canaille-globuzma/dev/docker-compose.yml

25 lines
572 B
YAML
Raw Normal View History

---
version: "3"
services:
ldap:
image: osixia/openldap
environment:
- LDAP_DOMAIN=mydomain.tld
volumes:
- ./bootstrap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/50-boostrap.ldif:ro
- ../schemas/oauth2-openldap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/40-oauth2.ldif:ro
command: --copy-service --loglevel debug
ports:
- 5389:389
- 5636:636
oauth:
build:
context: ..
dockerfile: dev/Dockerfile
ports:
- 5000:5000
volumes:
- ../:/app