File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
44
55ARG PHP_UPSTREAM_CONTAINER=php-fpm
66ARG PHP_UPSTREAM_PORT=9000
7+ ARG PHP_UPSTREAM_TIMEOUT=60
78
89ENV WEB_PHP_SOCKET=${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREAM_PORT}
910
1011ENV WEB_DOCUMENT_ROOT=/var/www/
1112
13+ ENV WEB_PHP_TIMEOUT=${PHP_UPSTREAM_TIMEOUT}
14+
1215EXPOSE 80 443
1316
1417WORKDIR /var/www/
Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ services:
156156 args :
157157 - PHP_UPSTREAM_CONTAINER=${APACHE_PHP_UPSTREAM_CONTAINER}
158158 - PHP_UPSTREAM_PORT=${APACHE_PHP_UPSTREAM_PORT}
159+ - PHP_UPSTREAM_TIMEOUT=${APACHE_PHP_UPSTREAM_TIMEOUT}
159160 volumes_from :
160161 - applications
161162 volumes :
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ APACHE_HOST_LOG_PATH=./logs/apache2
9797APACHE_SITES_PATH=./apache2/sites
9898APACHE_PHP_UPSTREAM_CONTAINER=php-fpm
9999APACHE_PHP_UPSTREAM_PORT=9000
100+ APACHE_PHP_UPSTREAM_TIMEOUT=60
100101
101102### MYSQL ##############################################################################################################
102103
You can’t perform that action at this time.
0 commit comments