docker: add healthcheck

This commit is contained in:
Valentin Tolmer
2022-10-12 15:16:32 +02:00
committed by nitnelave
parent 3aaf53442b
commit 188a92d124
3 changed files with 10 additions and 7 deletions

View File

@@ -64,3 +64,4 @@ EXPOSE ${LDAP_PORT} ${HTTP_PORT}
ENTRYPOINT ["/app/docker-entrypoint.sh"]
CMD ["run", "--config-file", "/data/lldap_config.toml"]
HEALTHCHECK CMD ["/app/lldap", "run", "--config-file", "/data/lldap_config.toml"]