From adbd66eb38b387f0bbe4d8d189c116a321ed3ed1 Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Wed, 17 Jan 2024 15:52:09 +0000 Subject: [PATCH] fix defaults --- docker/shared/root/docker/entrypoint.sh | 4 ++-- docker/shared/root/docker/templates/usr/local/etc/php/php.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/shared/root/docker/entrypoint.sh b/docker/shared/root/docker/entrypoint.sh index 77b58a01..49d62afd 100755 --- a/docker/shared/root/docker/entrypoint.sh +++ b/docker/shared/root/docker/entrypoint.sh @@ -59,7 +59,7 @@ find "${ENTRYPOINT_D_ROOT}" -follow -type f -print | sort -V | while read -r fil fi log-info "" - log-info "Sourcing [${file}]" + log-info "${notice_message_color}Sourcing [${file}]${color_clear}" log-info "" # shellcheck disable=SC1090 @@ -77,7 +77,7 @@ find "${ENTRYPOINT_D_ROOT}" -follow -type f -print | sort -V | while read -r fil fi log-info "" - log-info "Executing [${file}]" + log-info "${notice_message_color}Executing [${file}]${color_clear}" log-info "" "${file}" diff --git a/docker/shared/root/docker/templates/usr/local/etc/php/php.ini b/docker/shared/root/docker/templates/usr/local/etc/php/php.ini index c3426663..6277ec08 100644 --- a/docker/shared/root/docker/templates/usr/local/etc/php/php.ini +++ b/docker/shared/root/docker/templates/usr/local/etc/php/php.ini @@ -831,10 +831,10 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize -upload_max_filesize = {{ getenv "POST_MAX_SIZE" }} +upload_max_filesize = {{ getenv "POST_MAX_SIZE" "61M" }} ; Maximum number of files that can be uploaded via a single request -max_file_uploads = {{ getenv "MAX_ALBUM_LENGTH" }} +max_file_uploads = {{ getenv "MAX_ALBUM_LENGTH" "4" }} ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ;