1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00
Felix Bartels 68c691acbd
Adapt Konnect Container for Univention (#236)
* precreate meet keys in ssl, but do the actual action in konnect
* generate all keys for meet within Konnect
* incorporate explicit logging and settings set by ucs app
* make konnect container more dynamic
* set default oidc_issuer_identifier
* print size of container
* builder image is not required for security scanning
* define entrypoint instead of using command
* more cleanup of testing containers
* give logs in case of error
2019-09-10 13:48:19 +02:00

31 lines
992 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
# make sure the public store exists
docker exec kopano_server kopano-storeadm -h default: -P || true
docker exec kopano_server kopano-cli --list-users
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