From b873e37a2319558795d0523536e9ce4359109ef0 Mon Sep 17 00:00:00 2001 From: Sam Maosa Date: Tue, 20 Sep 2022 15:55:06 +0300 Subject: [PATCH 1/3] Update Dockerfile Updated Dockerfile to compile successfully for php8.1 --- docker/php8.1/.docker/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/php8.1/.docker/Dockerfile b/docker/php8.1/.docker/Dockerfile index 714af5e..f060e72 100644 --- a/docker/php8.1/.docker/Dockerfile +++ b/docker/php8.1/.docker/Dockerfile @@ -1,4 +1,4 @@ -FROM php:fpm-alpine +FROM php:8.1-fpm-alpine3.15 LABEL maintainer="Sam Maosa " @@ -55,14 +55,12 @@ RUN docker-php-ext-configure gd \ fileinfo \ gettext \ gd \ - exif \ - iconv \ + exif +RUN docker-php-ext-install \ intl \ - tokenizer \ ldap \ opcache \ pdo_mysql \ - pdo_sqlite \ pdo_pgsql \ pdo_dblib \ soap \ From 2476c33d2aaef7dbc91661c58fa2a1b50df50941 Mon Sep 17 00:00:00 2001 From: Sam Maosa Date: Tue, 20 Sep 2022 15:56:15 +0300 Subject: [PATCH 2/3] Update appserver.conf.template --- docker/php8.1/.docker/config/appserver.conf.template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/php8.1/.docker/config/appserver.conf.template b/docker/php8.1/.docker/config/appserver.conf.template index 9234a64..01a10c8 100644 --- a/docker/php8.1/.docker/config/appserver.conf.template +++ b/docker/php8.1/.docker/config/appserver.conf.template @@ -3,6 +3,14 @@ server { listen [::]:80; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log; + proxy_read_timeout 600; + proxy_connect_timeout 600; + proxy_send_timeout 600; + send_timeout 600; + fastcgi_connect_timeout 600; + fastcgi_send_timeout 600; + fastcgi_read_timeout 600; + client_max_body_size 3M; location / { root /app/public; From d48fd3ca4fe1376582c923dfa9bbbcce1a706c3c Mon Sep 17 00:00:00 2001 From: Sam Maosa Date: Tue, 20 Sep 2022 15:56:44 +0300 Subject: [PATCH 3/3] Update appserver.conf.template --- docker/php8.x/.docker/config/appserver.conf.template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/php8.x/.docker/config/appserver.conf.template b/docker/php8.x/.docker/config/appserver.conf.template index 9234a64..01a10c8 100644 --- a/docker/php8.x/.docker/config/appserver.conf.template +++ b/docker/php8.x/.docker/config/appserver.conf.template @@ -3,6 +3,14 @@ server { listen [::]:80; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log; + proxy_read_timeout 600; + proxy_connect_timeout 600; + proxy_send_timeout 600; + send_timeout 600; + fastcgi_connect_timeout 600; + fastcgi_send_timeout 600; + fastcgi_read_timeout 600; + client_max_body_size 3M; location / { root /app/public;