diff --git a/build/docker-compose/docker-compose.drupal.yml b/build/docker-compose/docker-compose.drupal.yml index ef3ae475c..3e8d670de 100644 --- a/build/docker-compose/docker-compose.drupal.yml +++ b/build/docker-compose/docker-compose.drupal.yml @@ -18,7 +18,19 @@ services: PHP_MEMORY_LIMIT: ${PHP_MEMORY_LIMIT} PHP_POST_MAX_SIZE: ${PHP_POST_MAX_SIZE} PHP_UPLOAD_MAX_FILESIZE: ${PHP_UPLOAD_MAX_FILESIZE} + NGINX_FASTCGI_CONNECT_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_FASTCGI_READ_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_FASTCGI_SEND_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_KEEPALIVE_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_PROXY_CONNECT_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_PROXY_READ_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_PROXY_SEND_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + NGINX_SEND_TIMEOUT: ${PHP_MAX_EXECUTION_TIME}s + PHP_DEFAULT_SOCKET_TIMEOUT: ${PHP_MAX_EXECUTION_TIME} PHP_MAX_EXECUTION_TIME: ${PHP_MAX_EXECUTION_TIME} + PHP_MAX_INPUT_TIME: ${PHP_MAX_EXECUTION_TIME} + PHP_PROCESS_CONTROL_TIMEOUT: ${PHP_MAX_EXECUTION_TIME} + PHP_REQUEST_TERMINATE_TIMEOUT: ${PHP_MAX_EXECUTION_TIME} labels: - traefik.enable=${EXPOSE_DRUPAL:-true} - traefik.http.services.${COMPOSE_PROJECT_NAME-isle-dc}-drupal.loadbalancer.server.port=80 diff --git a/sample.env b/sample.env index ba399d705..ef5cc6d63 100644 --- a/sample.env +++ b/sample.env @@ -155,7 +155,7 @@ RESTART_POLICY=unless-stopped PHP_MEMORY_LIMIT=256M PHP_POST_MAX_SIZE=128M PHP_UPLOAD_MAX_FILESIZE=128M -PHP_MAX_EXECUTION_TIME=30 +PHP_MAX_EXECUTION_TIME=300 # If you're just demoing or are starting from scratch, use this. INSTALL_EXISTING_CONFIG=false