mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
healthcheck test
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
0aaba5224e
commit
ff542b4f54
@ -10,7 +10,8 @@ kcconf.configkopano({
|
||||
'attachment_path': "/kopano/data/attachments/",
|
||||
'user_plugin': "ldap",
|
||||
'server_listen': "*:236",
|
||||
'server_listen_tls': "*:237"
|
||||
'server_listen_tls': "*:237",
|
||||
'server_name': "kopano"
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case "$SERVICE_TO_START" in
|
||||
server)
|
||||
dockerize \
|
||||
-wait tcp://localhost:237 \
|
||||
([ -f /kopano/data/.user-sync ] || kopano-cli --sync; touch /kopano/data/.user-sync)
|
||||
kopano-cli --list-users
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user