mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
allow to set max_execution_time of container via EGW_MAX_EXECUTION_TIME environment variable from docker-compose(.override).yml
This commit is contained in:
parent
2c14226ee5
commit
a4f136072e
@ -20,6 +20,11 @@ test -n "$EGW_MEMORY_LIMIT" && \
|
||||
sed -e "s/^;\?php_admin_value\[memory_limit\].*/php_admin_value[memory_limit]=$EGW_MEMORY_LIMIT/g" \
|
||||
-i /etc/php/$PHP_VERSION/fpm/pool.d/www.conf
|
||||
|
||||
# if EGW_MAX_EXECUTION_TIME is set in environment, propagate value to php.ini
|
||||
test -n "$EGW_MAX_EXECUTION_TIME" && test "$EGW_MAX_EXECUTION_TIME" -ge 90 && \
|
||||
sed -e "s/^;\?max_execution_time.*/max_execution_time=$EGW_MAX_EXECUTION_TIME/g" \
|
||||
-i /etc/php/$PHP_VERSION/fpm/php.ini
|
||||
|
||||
# ToDo check version before copy
|
||||
rsync -a --delete /usr/share/egroupware-sources/ /usr/share/egroupware/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user