File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
4
4
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \
5
5
PHP_OPCACHE_MEMORY_CONSUMPTION="192" \
6
6
PHP_OPCACHE_MAX_WASTED_PERCENTAGE="10" \
7
- PHP_MEMORY_LIMIT="512M"
7
+ PHP_MEMORY_LIMIT="512M" \
8
+ PHP_MAX_EXECUTION_TIME="60"
8
9
9
10
RUN apk info \
10
11
&& echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ services:
49
49
environment :
50
50
- PHP_OPCACHE_VALIDATE_TIMESTAMPS=1
51
51
- PHP_MEMORY_LIMIT=1G
52
+ - PHP_MAX_EXECUTION_TIME=30
52
53
- STARTUP_COMMAND1=/root/modules/dev.sh
53
54
- STARTUP_COMMAND2=php artisan migrate --force
54
55
- STARTUP_COMMAND3=php artisan setup
@@ -86,6 +87,7 @@ services:
86
87
environment:
87
88
- PHP_OPCACHE_VALIDATE_TIMESTAMPS=1
88
89
- PHP_MEMORY_LIMIT=1G
90
+ - PHP_MAX_EXECUTION_TIME=30
89
91
- STARTUP_COMMAND1=/root/modules/storage.sh
90
92
- STARTUP_COMMAND2=/root/modules/cache.sh
91
93
- STARTUP_COMMAND3=php artisan migrate --force
Original file line number Diff line number Diff line change 4
4
; Resource Limits ;
5
5
; ;;;;;;;;;;;;;;;;;;
6
6
7
- max_execution_time = 60
7
+ max_execution_time = ${PHP_MAX_EXECUTION_TIME}
8
8
max_input_time = 60
9
9
memory_limit = ${PHP_MEMORY_LIMIT}
10
10
You can’t perform that action at this time.
0 commit comments