mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-14 18:35:08 +01:00
Change upload_max_filesize
Per default only 2MB are allowed. This is not usable for webclients to add attachments. Added 1G as default value.
This commit is contained in:
parent
cc2952f6f5
commit
6613f63dfc
1 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,11 @@ RUN { \
|
|||
\
|
||||
echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \
|
||||
\
|
||||
{ \
|
||||
echo 'upload_max_filesize = 1G'; \
|
||||
echo 'post_max_size = 1G'; \
|
||||
} > /usr/local/etc/php/conf.d/upload-max-filesize.ini; \
|
||||
\
|
||||
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \
|
||||
\
|
||||
mkdir /var/www/data; \
|
||||
|
|
Loading…
Add table
Reference in a new issue