refactor: all-in-one docker deployment with auto-tuned resources and per-mode compose templates
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
; Slim PHP defaults for the all-in-one container.
|
||||
; Tunables are overridable via Docker ENV (PHP_MEMORY_LIMIT, etc.) if needed.
|
||||
|
||||
memory_limit = 256M
|
||||
|
||||
[opcache]
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 0
|
||||
opcache.memory_consumption = 96
|
||||
opcache.interned_strings_buffer = 16
|
||||
opcache.max_accelerated_files = 10000
|
||||
opcache.validate_timestamps = 0
|
||||
opcache.revalidate_freq = 0
|
||||
opcache.fast_shutdown = 1
|
||||
|
||||
[swoole]
|
||||
swoole.use_shortname = Off
|
||||
Reference in New Issue
Block a user