mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
even better healthcheck for ldap
This commit is contained in:
parent
9d0ff1ba6c
commit
064c0eb958
@ -19,6 +19,7 @@ services:
|
||||
ldapsearch -x -H ldap://localhost:$$LDAP_PORT_NUMBER -D $$LDAP_ADMIN_DN -w $$LDAP_ADMIN_PASSWORD -b $$LDAP_ROOT
|
||||
| grep -c -E "member: cn=j(ohn|ane)doe"
|
||||
| grep 2 >> /dev/null
|
||||
&& cat /run/slapd/slapd.pid
|
||||
interval: 10s
|
||||
retries: 10
|
||||
timeout: 2s
|
||||
|
Loading…
Reference in New Issue
Block a user