Added php.ini to docker image so that users can upload above 10MB.
This commit is contained in:
parent
535792444c
commit
6788b0a54e
2 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
|
|||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /etc/apache2/sites-enabled/000-*.conf
|
||||
|
||||
COPY php.ini /usr/local/etc/php/php.ini
|
||||
COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
|
||||
RUN a2enmod rewrite
|
||||
|
||||
|
|
4
php.ini
Normal file
4
php.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[PHP]
|
||||
|
||||
post_max_size = 10M
|
||||
upload_max_filesize = 10M
|
Loading…
Add table
Add a link
Reference in a new issue