Add main and dev opcache and xdebug config for docker

This commit is contained in:
2023-11-12 22:02:00 +01:00
parent acea3e228a
commit 0b25db56ef
3 changed files with 23 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.revalidate_freq=0
opcache.validate_timestamps=1
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.max_wasted_percentage=10
opcache.interned_strings_buffer=16
opcache.fast_shutdown=1
+7
View File
@@ -0,0 +1,7 @@
[opcache]
opcache.enable=1
opcache.preload=/app/config/preload.php
opcache.preload_user=www-data
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.validate_timestamps=0
+6
View File
@@ -0,0 +1,6 @@
[xdebug]
xdebug.mode=develop,debug,profile
xdebug.client_host=host.docker.internal
xdebug.client_port=9003
xdebug.discover_client_host=0
xdebug.start_with_request=trigger