This commit is contained in:
fix 2021-07-29 14:58:14 +02:00
parent 0022d4194d
commit 1fd27f71d4
2 changed files with 6 additions and 4 deletions

View File

@ -1,2 +1,8 @@
# docker-openldap
docker container for openldap / slapd.
# invocation
```
docker-compose up --build
```

View File

@ -1,7 +1,5 @@
FROM alpine:3
RUN apk update --no-cache && \
apk add --no-cache \
openldap \
@ -18,6 +16,4 @@ RUN apk update --no-cache && \
/var/run/openldap \
/var/lib/openldap/openldap-data
# TODO add ldap user
#CMD ["slapd","-d", "256", "-u ldap","-g ldap","-F /etc/openldap/slapd.d"]
CMD ["slapd","-d", "256", "-u", "ldap", "-g", "ldap"]