فهرست منبع

Merge branch 'master' into 'master'

Update Dockerfile

Increased post_max_size and upload_max_filesize to 500M in order to allow uploading and local hosting of larger videofiles

See merge request !2

Johannes Zellner 10 سال پیش
والد
کامیت
b72ffe08d0
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -35,8 +35,8 @@ RUN echo "Listen 8000" > /etc/apache2/ports.conf
 
 # configure mod_php
 RUN a2enmod rewrite
-RUN sed -e 's/upload_max_filesize = .*/upload_max_filesize = 100M/' \
-        -e 's/post_max_size = .*/post_max_size = 100M/' \
+RUN sed -e 's/upload_max_filesize = .*/upload_max_filesize = 500M/' \
+        -e 's/post_max_size = .*/post_max_size = 500M/' \
         -e 's,;session.save_path.*,session.save_path = "/run/wordpress/sessions",' \
         -i /etc/php/7.0/apache2/php.ini