Merge pull request #2389 from bestlong/increase_upload_filesize
phpMyAdmin increase upload filesize to 2G
This commit is contained in:
commit
272222b7f1
|
@ -5,5 +5,10 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
||||||
# Add volume for sessions to allow session persistence
|
# Add volume for sessions to allow session persistence
|
||||||
VOLUME /sessions
|
VOLUME /sessions
|
||||||
|
|
||||||
|
RUN echo '' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini \
|
||||||
|
&& echo '[PHP]' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini \
|
||||||
|
&& echo 'post_max_size = 2G' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini \
|
||||||
|
&& echo 'upload_max_filesize = 2G' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini
|
||||||
|
|
||||||
# We expose phpMyAdmin on port 80
|
# We expose phpMyAdmin on port 80
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Reference in New Issue