Increase max times

This commit is contained in:
Alexandre
2023-07-12 10:07:36 +02:00
committed by GitHub
parent 7b95436de8
commit 279dec87c0

View File

@@ -40,10 +40,12 @@ RUN \
sed -i \
-e 's/upload_max_filesize=1024M/upload_max_filesize=8192M/g' \
-e 's/post_max_size=1024M/post_max_size=8192M/g' \
-e 's/max_execution_time=120/max_execution_time=3600/g' \
/etc/php*/php.ini || true && \
\
# modify nginx limits file
sed -i "s|client_max_body_size 512M;|client_max_body_size 8192M;|g" /defaults/nginx/site-confs/default.conf.sample && \
sed -i "s|client_body_timeout 300s;|client_body_timeout 900s;|g" /defaults/nginx/site-confs/default.conf.sample && \
\
# Change location of executable
sed -i "s|/config|/data/config|g" /usr/bin/occ && \