mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-11 16:32:59 +00:00
Misc changes (#268)
* fixes for setup-tools.sh fixes https://github.com/zokradonh/kopano-docker/issues/266 * add startup tests for meet demo * add architecture to contributing file * define ical_listen for kopano-ical * precreate database if it does not yet exist * fix spelling
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
ARG docker_repo=zokradonh
|
||||
FROM ${docker_repo}/kopano_scheduler
|
||||
|
||||
COPY test.sh /start.sh
|
||||
|
||||
CMD ["/start.sh"]
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/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 http://kopano_konnect:8777/.well-known/openid-configuration \
|
||||
-wait tcp://kopano_kwmserver:8778 \
|
||||
-wait tcp://kopano_meet:9080 \
|
||||
-wait tcp://web:2015 \
|
||||
-timeout 30s
|
||||
@@ -0,0 +1,19 @@
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
test:
|
||||
build:
|
||||
context: tests/startup-test
|
||||
args:
|
||||
docker_repo: ${docker_repo:-zokradonh}
|
||||
networks:
|
||||
- kopano-net
|
||||
- ldap-net
|
||||
- web-net
|
||||
volumes:
|
||||
- kopanodata/:/kopano/data
|
||||
- kopanossl/:/kopano/ssl
|
||||
- kopanosocket/:/run/kopano
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
- KCCONF_SERVER_MYSQL_HOST=${MYSQL_HOST}
|
||||
Reference in New Issue
Block a user