docker: Update PHP_UPLOAD_LIMIT to 1800M
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7381845b87
commit
c4ebbb02c8
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
## Raise memory limit for PHP
|
## Raise memory limit for PHP
|
||||||
##
|
##
|
||||||
ENV PHP_MEMORY_LIMIT=1024M
|
ENV PHP_MEMORY_LIMIT=1024M
|
||||||
|
ENV PHP_UPLOAD_LIMIT=1800M
|
||||||
RUN echo 'memory_limit=1024M' \
|
RUN echo 'memory_limit=1024M' \
|
||||||
> /usr/local/etc/php/conf.d/memory-limit.ini \
|
> /usr/local/etc/php/conf.d/memory-limit.ini \
|
||||||
&& echo '*/5 * * * * php -d memory_limit=1024M -f /var/www/html/cron.php' \
|
&& echo '*/5 * * * * php -d memory_limit=1024M -f /var/www/html/cron.php' \
|
||||||
|
|
Loading…
Reference in a new issue