mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-11 16:32:59 +00:00
implement new env variable to disable all automatic actions (#434)
* 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
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ LABEL maintainer=az@zok.xyz \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ENV \
|
||||
AUTOCONFIG=yes \
|
||||
AUTOCONFIGURE=true \
|
||||
CODE_VERSION="${CODE_VERSION}" \
|
||||
DEFAULTREDIRECT="/webapp" \
|
||||
KONNECTPATH=kopanoid \
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ fi
|
||||
export CADDYPATH="$KOPANO_KWEB_ASSETS_PATH"
|
||||
|
||||
# services need to be aware of the machine-id
|
||||
if [ "$AUTOCONFIG" = "yes" ]; then
|
||||
if [ "$AUTOCONFIGURE" = true ]; then
|
||||
dockerize \
|
||||
-wait file:///etc/machine-id \
|
||||
-wait file:///var/lib/dbus/machine-id
|
||||
|
||||
Reference in New Issue
Block a user