From 542925376f5d8e7b6cf50c9cb7b590b51a283c8b Mon Sep 17 00:00:00 2001 From: Oleh Vehera <11544787+iVegas@users.noreply.github.com> Date: Fri, 8 Sep 2023 12:05:15 +0300 Subject: [PATCH 1/2] Update docker-compose.yml with frequently used environment variables for php container --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index dd0c1311c..490bd87da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,12 +33,14 @@ services: # PHP_XDEBUG: 1 # PHP_XDEBUG_MODE: debug # PHP_XDEBUG_MODE: profile +# PHP_XDEBUG_START_WITH_REQUEST: "yes" # PHP_XDEBUG_USE_COMPRESSION: false # PHP_IDE_CONFIG: serverName=my-ide # PHP_XDEBUG_IDEKEY: "my-ide" # PHP_XDEBUG_CLIENT_HOST: 172.17.0.1 # Linux # PHP_XDEBUG_CLIENT_HOST: host.docker.internal # Docker 18.03+ Mac/Win # PHP_XDEBUG_CLIENT_HOST: 10.0.75.1 # Windows, Docker < 18.03 +# PHP_XDEBUG_LOG_LEVEL: 0 # PHP_XDEBUG_LOG: /tmp/php-xdebug.log # # PHPUnit Drupal testing configurations # SIMPLETEST_BASE_URL: "http://nginx" From 128317f420cddb0974f60b85c64b4508168a427a Mon Sep 17 00:00:00 2001 From: Oleh Vehera <11544787+iVegas@users.noreply.github.com> Date: Fri, 22 Sep 2023 12:10:19 +0300 Subject: [PATCH 2/2] No need for log level here That will be resolved here https://github.com/wodby/php/pull/184 --- docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 490bd87da..39b98cb7e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,6 @@ services: # PHP_XDEBUG_CLIENT_HOST: 172.17.0.1 # Linux # PHP_XDEBUG_CLIENT_HOST: host.docker.internal # Docker 18.03+ Mac/Win # PHP_XDEBUG_CLIENT_HOST: 10.0.75.1 # Windows, Docker < 18.03 -# PHP_XDEBUG_LOG_LEVEL: 0 # PHP_XDEBUG_LOG: /tmp/php-xdebug.log # # PHPUnit Drupal testing configurations # SIMPLETEST_BASE_URL: "http://nginx"