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

Make it possible to override the final exe (#392)

* move all env definition in same block
* implement EXE env variable for kopano-core
  * Obsoletes parts of https://github.com/zokradonh/kopano-docker/pull/366
* use EXE in konnect container
* add exe for web
* make it possible to docker-composer run commands in web container
This commit is contained in:
Felix Bartels
2020-05-05 21:03:47 +02:00
committed by GitHub
parent 05230d1c0a
commit 9bba2ec77e
4 changed files with 39 additions and 20 deletions
+7 -1
View File
@@ -2,6 +2,12 @@
set -e
# allow helper commands given by "docker-compose run"
if [ $# -gt 0 ]; then
exec "$@"
exit
fi
# services need to be aware of the machine-id
if [ "$AUTOCONFIG" = "yes" ]; then
dockerize \
@@ -9,4 +15,4 @@ if [ "$AUTOCONFIG" = "yes" ]; then
-wait file:///var/lib/dbus/machine-id
fi
exec kwebd caddy -conf /etc/kweb.cfg -agree
exec "$EXE" caddy -conf /etc/kweb.cfg -agree