Allow to configure upload limits
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c897d91b3e
commit
593f76df19
|
@ -18,6 +18,7 @@ export LOCAL_SETTINGS_CONF_VERSION=v1
|
|||
export HTACCESS_CONF_VERSION=v1
|
||||
export ENTRYPOINT_CONF_VERSION=v1
|
||||
export COMPOSER_LOCAL_CONF_VERSION=v1
|
||||
export UPLOAD_INI_VERSION=v1
|
||||
|
||||
# SAML
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@ services:
|
|||
configs:
|
||||
- source: LocalSettings_conf
|
||||
target: /var/www/html/LocalSettings.php
|
||||
- source: upload_ini
|
||||
target: /etc/php5/fpm/conf.d/uploads.ini
|
||||
- source: entrypoint2_conf
|
||||
target: /docker-entrypoint2.sh
|
||||
mode: 0555
|
||||
|
@ -103,3 +105,7 @@ configs:
|
|||
name: ${STACK_NAME}_entrypoint2_${ENTRYPOINT_CONF_VERSION}
|
||||
file: entrypoint.sh.tmpl
|
||||
template_driver: golang
|
||||
upload_ini:
|
||||
name: ${STACK_NAME}_upload_ini_${UPLOAD_INI_VERSION}
|
||||
file: uploads.ini.tmpl
|
||||
template_driver: golang
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
upload_max_filesize = 10M
|
||||
post_max_size = 10M
|
||||
max_execution_time = 7200
|
||||
max_file_uploads = 1000
|
Reference in New Issue