Improve usage examples

This commit is contained in:
paul 2019-04-18 20:59:51 +02:00
parent 243276702f
commit c79c8bffd7
5 changed files with 29 additions and 15 deletions

View file

@ -1,9 +1,13 @@
version: '2'
version: "2.4"
networks:
net:
driver: bridge
volumes:
data:
conf:
services:
slapd:
image: zombi/ldap:latest
@ -13,5 +17,5 @@ services:
- "DATADIR=/data"
- "CONFDIR=/conf"
volumes:
- ./data/ldap/config:/conf
- ./data/ldap/data:/data
- conf:/etc/ldap/slapd.d
- data:/var/lib/ldap