Skip to content

Commit

Permalink
Merge pull request #26 from eladeyal-intel/patch-1
Browse files Browse the repository at this point in the history
add HEALTHCHECK
  • Loading branch information
rroemhild authored Feb 8, 2021
2 parents 97772d7 + 2010751 commit e1ae203
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ USER openldap

ENTRYPOINT ["/usr/bin/tini", "--", "/usr/sbin/slapd"]
CMD ["-h", "ldapi:/// ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636", "-d", "256"]

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 comments on commit e1ae203

Please sign in to comment.