fix: avoid timeout during install (php + httpd)
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
85de3324a5
commit
e7108f75ff
2 changed files with 6 additions and 5 deletions
|
@ -57,10 +57,11 @@ WORKDIR /var/www/html
|
|||
# && mv composer.json.disabled composer.json \
|
||||
# && composer install
|
||||
|
||||
RUN sed \
|
||||
-i 's|/var/www/html|/var/www/html/htdocs|' \
|
||||
/etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
# Fix configuration
|
||||
RUN sed -i 's|/var/www/html|/var/www/html/htdocs|' \
|
||||
/etc/apache2/sites-enabled/000-default.conf \
|
||||
&& sed -i 's|^Timeout .*|Timeout 1200|' \
|
||||
/etc/apache2/apache2.conf
|
||||
|
||||
CMD ["apache2-foreground"]
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
file_uploads = On
|
||||
upload_max_filesize = 128M
|
||||
post_max_size = 128M
|
||||
max_execution_time = 600
|
||||
max_execution_time = 1200
|
||||
max_input_time = 120
|
||||
|
|
Loading…
Reference in a new issue