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:
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user