From 8fc0a1d55b71fe5a50e05642d8e3eade00138f80 Mon Sep 17 00:00:00 2001 From: Rick Henry Date: Fri, 11 Aug 2023 15:11:07 +0100 Subject: [PATCH] Add note to entrypoint to warn on values See #423 --- docker-entrypoint.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index f0fa6243..7d5dea20 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -35,6 +35,13 @@ check_vars_exist \ DB_PORT \ DB_USERNAME +if [ -n "${FILE_UPLOAD_SIZE_LIMITS}" ]; then + echo "Note: If you're setting FILE_UPLOAD_SIZE_LIMITS to more than 10M, you" + echo "may also need to modify the php.ini file." + echo "See:" + echo "https://github.com/solidnerd/docker-bookstack/issues/423" +fi + echoerr "wait-for-db: waiting for ${DB_HOST_NAME}:${DB_PORT}" timeout 15 bash <