mirror of
https://github.com/linuxserver/docker-piwigo.git
synced 2025-04-24 05:07:05 -04:00
Merge pull request #38 from blastrock/master
Increase upload_max_filesize in php.ini
This commit is contained in:
commit
d82f49c84a
4 changed files with 16 additions and 3 deletions
|
@ -43,7 +43,11 @@ RUN \
|
|||
mkdir /piwigo && \
|
||||
curl -o \
|
||||
/piwigo/piwigo.zip -L \
|
||||
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}"
|
||||
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
|
||||
# The max filesize is 2M by default, which is way to small for most photos
|
||||
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
|
||||
# The max post size is 8M by default, it must be at least max_filesize
|
||||
sed -ri 's/^post_max_size = .*/post_max_size = 100M/' /etc/php7/php.ini
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
|
|
@ -43,7 +43,11 @@ RUN \
|
|||
mkdir /piwigo && \
|
||||
curl -o \
|
||||
/piwigo/piwigo.zip -L \
|
||||
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}"
|
||||
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
|
||||
# The max filesize is 2M by default, which is way to small for most photos
|
||||
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
|
||||
# The max post size is 8M by default, it must be at least max_filesize
|
||||
sed -ri 's/^post_max_size = .*/post_max_size = 100M/' /etc/php7/php.ini
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
|
|
@ -43,7 +43,11 @@ RUN \
|
|||
mkdir /piwigo && \
|
||||
curl -o \
|
||||
/piwigo/piwigo.zip -L \
|
||||
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}"
|
||||
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
|
||||
# The max filesize is 2M by default, which is way to small for most photos
|
||||
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
|
||||
# The max post size is 8M by default, it must be at least max_filesize
|
||||
sed -ri 's/^post_max_size = .*/post_max_size = 100M/' /etc/php7/php.ini
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
|
|
@ -43,6 +43,7 @@ app_setup_nginx_reverse_proxy_block: ""
|
|||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "12.12.20:", desc: "Increased upload_max_filesize in php.ini" }
|
||||
- { date: "01.06.20:", desc: "Rebasing to alpine 3.12." }
|
||||
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
|
||||
- { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue