Skip to content

Commit e1ae203

Browse files
authored
Merge pull request #26 from eladeyal-intel/patch-1
add HEALTHCHECK
2 parents 97772d7 + 2010751 commit e1ae203

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ USER openldap
2828

2929
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/sbin/slapd"]
3030
CMD ["-h", "ldapi:/// ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636", "-d", "256"]
31+
32+
HEALTHCHECK CMD ldapsearch -H ldap://127.0.0.1:10389 -D cn=admin,dc=planetexpress,dc=com -w GoodNewsEveryone -b cn=admin,dc=planetexpress,dc=com

0 commit comments

Comments
 (0)