mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-06 23:46:24 +00:00
* implement new env variable to disable all automatic actions fixes https://github.com/zokradonh/kopano-docker/issues/360 * wrap the remaining services in checks if autoconfigure/disable_checks is used * move definition of AUTOCONFIGURE variable into base image * add logic to kapps and kdav container * add autoconfigure to konnect container * update build stage to latest golang * add autoconfig to remaining images * delete obsolete apache config in z-push folder * when specifying config paths use KOPANO_CONFIG_PATH * also use env variable in helper scripts * add message about removal of kopano-cli
21 lines
379 B
Bash
Executable File
21 lines
379 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# allow helper commands given by "docker-compose run"
|
|
if [ $# -gt 0 ]; then
|
|
exec "$@"
|
|
exit
|
|
fi
|
|
|
|
export CADDYPATH="$KOPANO_KWEB_ASSETS_PATH"
|
|
|
|
# services need to be aware of the machine-id
|
|
if [ "$AUTOCONFIGURE" = true ]; then
|
|
dockerize \
|
|
-wait file:///etc/machine-id \
|
|
-wait file:///var/lib/dbus/machine-id
|
|
fi
|
|
|
|
exec "$EXE" caddy -conf /etc/kweb.cfg -agree
|