mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +01:00
Update php overrides in container
This commit is contained in:
parent
ff79a638d3
commit
48b44a9e4f
2 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue