21 lines
396 B
Text
21 lines
396 B
Text
version: "2.4"
|
|
|
|
networks:
|
|
net:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
data:
|
|
conf:
|
|
|
|
services:
|
|
slapd:
|
|
image: zombi/ldap:latest
|
|
environment:
|
|
- "ROOTPW=pass"
|
|
- "ORGANIZATION=example"
|
|
- "CONFDIR=/etc/ldap/slapd.d"
|
|
- "DATADIR=/var/lib/ldap"
|
|
volumes:
|
|
- conf:/etc/ldap/slapd.d
|
|
- data:/var/lib/ldap
|