1
0
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:
Felix Bartels 2018-11-05 08:43:00 +01:00
parent 0aaba5224e
commit ff542b4f54
2 changed files with 5 additions and 4 deletions

View File

@ -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"
}
})

View File

@ -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