mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 16:25:55 +03:00
[GH-ISSUE #312] Feature request: Healthcheck #119
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kaysond on GitHub (Oct 4, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/312
It would be great if the Dockerfile included a healthcheck. It should probably check both the ldap port and the web ui port. Web UI could be checked with
wget --spider(included by default on the alpine builds, but debian seems to not have it).For the ldap port, though, it seems a bit more complicated. From what I can tell debian has
ldap-clientvia theldap-utilspackage, but alpine does not.Maybe the best way to do this is to write a custom healthcheck binary that checks both the web url and also does an ldap query?
@nitnelave commented on GitHub (Oct 4, 2022):
The main non-trivial issue I see here is how to get the right port for the web/ldap/ldaps endpoints.
The easiest way is probably to either: