mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
use scheduler image as base after dockerize round also execute some other commands clean up test containers after run switch kopano-admin to listing users (also more helpful when debugging) comment kopano-cli for the moment
28 lines
885 B
Bash
Executable File
28 lines
885 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# waits for key events in various containers
|
|
# e.g. kopano_server:236 signals succesful start of kopano-server process
|
|
dockerize \
|
|
-wait file://var/run/kopano/grapi/notify.sock \
|
|
-wait file://var/run/kopano/server.sock \
|
|
-wait http://kopano_konnect:8777/.well-known/openid-configuration \
|
|
-wait tcp://"${KCCONF_SERVER_MYSQL_HOST}":3306 \
|
|
-wait tcp://kopano_dagent:2003 \
|
|
-wait tcp://kopano_gateway:143 \
|
|
-wait tcp://kopano_ical:8080 \
|
|
-wait tcp://kopano_kwmserver:8778 \
|
|
-wait tcp://kopano_meet:9080 \
|
|
-wait tcp://kopano_server:236 \
|
|
-wait tcp://kopano_server:237 \
|
|
-wait tcp://web:2015 \
|
|
-wait tcp://kopano_webapp:9080 \
|
|
-wait tcp://kopano_zpush:80 \
|
|
-timeout 120s
|
|
|
|
#docker exec kopano_server kopano-cli --sync
|
|
docker exec kopano_server kopano-admin -l
|
|
docker exec kopano_zpush z-push-admin -a list
|
|
docker exec kopano_zpush z-push-gabsync -a sync
|