Skip to content

Commit 8fc0a1d

Browse files
committed
Add note to entrypoint to warn on values
See #423
1 parent 8ec5c40 commit 8fc0a1d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker-entrypoint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ check_vars_exist \
3535
DB_PORT \
3636
DB_USERNAME
3737

38+
if [ -n "${FILE_UPLOAD_SIZE_LIMITS}" ]; then
39+
echo "Note: If you're setting FILE_UPLOAD_SIZE_LIMITS to more than 10M, you"
40+
echo "may also need to modify the php.ini file."
41+
echo "See:"
42+
echo "https://github.com/solidnerd/docker-bookstack/issues/423"
43+
fi
44+
3845
echoerr "wait-for-db: waiting for ${DB_HOST_NAME}:${DB_PORT}"
3946

4047
timeout 15 bash <<EOT

0 commit comments

Comments
 (0)