Added php.ini to docker image so that users can upload above 10MB.

This commit is contained in:
Christopher Tran 2017-05-01 19:09:03 -04:00
parent 535792444c
commit 6788b0a54e
2 changed files with 5 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,4 @@
[PHP]
post_max_size = 10M
upload_max_filesize = 10M