1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

start kopano-server through dockerize

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels
2018-11-04 12:05:57 +01:00
parent c8096b9a8f
commit 0c459dd16d
3 changed files with 350 additions and 8 deletions
+4 -4
View File
@@ -39,13 +39,13 @@ fi
# start regular service
case "$SERVICE_TO_START" in
server)
# TODO needs to be extended for the other services and certificates
dockerize \
# TODO use dockerize to start other services as well
exec dockerize \
-wait file://$KCCONF_SERVER_SERVER_SSL_CA_FILE \
-wait file://$KCCONF_SERVER_SERVER_SSL_KEY_FILE \
-wait tcp://db:3306 \
-timeout 360s
exec /usr/sbin/kopano-server -F
-timeout 360s \
/usr/sbin/kopano-server -F
;;
dagent)
exec /usr/sbin/kopano-dagent -l