Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6788b0a

Browse files
Added php.ini to docker image so that users can upload above 10MB.
1 parent 5357924 commit 6788b0a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎Dockerfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
2020
&& apt-get clean \
2121
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /etc/apache2/sites-enabled/000-*.conf
2222

23+
COPY php.ini /usr/local/etc/php/php.ini
2324
COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
2425
RUN a2enmod rewrite
2526

‎php.ini‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[PHP]
2+
3+
post_max_size = 10M
4+
upload_max_filesize = 10M

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /