mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-31 10:27:14 +00:00 
			
		
		
		
	* add kweb config for z-push * clean out apache bits from z-push container and use kopano_php as the base * fix commander tests for current php version * globally define log location for php-fpm error_log * move port in outer kweb config * rewrite other spellings of the autodiscover url * fix port in startup test * force plain output to buildkit * reorder z-push dockerfile
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -ex
 | |
| 
 | |
| # waits for key events in various containers
 | |
| # e.g. kopano_server:236 signals successful start of kopano-server process
 | |
| dockerize \
 | |
| 	-wait http://kopano_konnect:8777/.well-known/openid-configuration \
 | |
| 	-wait http://kopano_meet:9080/meet \
 | |
| 	-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_kapi:8039 \
 | |
| 	-wait tcp://kopano_kwmserver:8778 \
 | |
| 	-wait tcp://kopano_server:236 \
 | |
| 	-wait tcp://kopano_server:237 \
 | |
| 	-wait tcp://kopano_webapp:9080 \
 | |
| 	-wait tcp://kopano_zpush:9080 \
 | |
| 	-wait tcp://web:2015 \
 | |
| 	-timeout 120s
 | |
| 
 | |
| # until goss is part of the general testsuite check goss for kopano-server here as well
 | |
| docker exec kopano_server goss -g /kopano/goss/server/goss.yaml validate
 | |
| 
 | |
| # make sure the public store exists
 | |
| docker exec kopano_server kopano-storeadm -h default: -P || true
 | |
| 
 | |
| docker exec kopano_server kopano-admin --sync
 | |
| docker exec kopano_server kopano-storeadm -O # list users without a store
 | |
| 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
 | |
| 
 | |
| # will print nothing if store exists and fail if it doesn't
 | |
| docker exec kopano_server kopano-admin --details user1 | grep -q "^Store GUID:"
 |