Update php overrides in container

This commit is contained in:
Adam Lavin 2021-03-28 17:51:36 +01:00
parent ff79a638d3
commit 48b44a9e4f
No known key found for this signature in database
GPG key ID: 9C4C68AFA9CA6461
2 changed files with 14 additions and 2 deletions

View file

@ -13,8 +13,8 @@ services:
- web
volumes:
- .:/app
- ./vagrant/php-overrides.ini:/usr/local/etc/php/conf.d/php.ini:ro
- ./vagrant/php-overrides.ini:/usr/local/etc/php-fpm.d/php.ini:ro
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/php.ini:ro
- ./docker/php/php.ini:/usr/local/etc/php-fpm.d/php.ini:ro
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0

View file

@ -1,3 +1,15 @@
[php]
post_max_size = 600M
upload_max_filesize = 600M
[opcache]
opcache.enable=1
; 0 means it will check on every request
; 0 is irrelevant if opcache.validate_timestamps=0 which is desirable in production
opcache.revalidate_freq=0
opcache.validate_timestamps=1
opcache.max_accelerated_files=10000
opcache.memory_consumption=192
opcache.max_wasted_percentage=10
opcache.interned_strings_buffer=16
opcache.fast_shutdown=1