diff --git a/Dockerfile b/Dockerfile index c3f6019f..df6c9cbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/php.ini b/php.ini new file mode 100644 index 00000000..8c04c367 --- /dev/null +++ b/php.ini @@ -0,0 +1,4 @@ +[PHP] + +post_max_size = 10M +upload_max_filesize = 10M