GUACAMOLE-2119: Merge correction re-enabling reading _FILE variables in Docker image.

This commit is contained in:
Mike Jumper authored and GitHub committed 2025-08-31 02:22:40 -07:00
commit 68ebccb7bf
1 file changed
+15
@@ -113,3 +113,18 @@ enable-environment-properties: true
EOF
fi
# Enable reading of environment variables that pull values for properties
# from files, unless overridden
if ! is_property_set "enable-file-environment-properties"; then
cat >> "$GUACAMOLE_HOME/guacamole.properties" <<'EOF'
#
# NOTE: The following was automatically added by the container entrypoint to
# allow Guacamole configuration property values to be automatically read from
# files specified by environment variables ending in _FILE. If this is not
# desired, you can override this behavior by specifying the
# "enable-file-environment-properties" variable yourself in your
# own guacamole.properties file.
#
enable-file-environment-properties: true
EOF
fi