mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 23:31:50 +02:00
Increase max times
This commit is contained in:
@@ -40,10 +40,12 @@ RUN \
|
|||||||
sed -i \
|
sed -i \
|
||||||
-e 's/upload_max_filesize=1024M/upload_max_filesize=8192M/g' \
|
-e 's/upload_max_filesize=1024M/upload_max_filesize=8192M/g' \
|
||||||
-e 's/post_max_size=1024M/post_max_size=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 && \
|
/etc/php*/php.ini || true && \
|
||||||
\
|
\
|
||||||
# modify nginx limits file
|
# 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_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
|
# Change location of executable
|
||||||
sed -i "s|/config|/data/config|g" /usr/bin/occ && \
|
sed -i "s|/config|/data/config|g" /usr/bin/occ && \
|
||||||
|
|||||||
Reference in New Issue
Block a user