Skip to content

Commit

Permalink
Merge branch 'v16-branch' into backport-634-to-v16-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
joehoyle authored Nov 14, 2023
2 parents f22a0d0 + 23684d6 commit 964e0f4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
7 changes: 0 additions & 7 deletions docker/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@

# Set sendmail to use mailhog.
sendmail_path = ${PHP_SENDMAIL_PATH}

# XDebug
xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.var_display_max_children = 1024
xdebug.var_display_max_data = -1
xdebug.var_display_max_depth = 10
9 changes: 9 additions & 0 deletions docker/xdebug.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# XDebug. Only loaded with local server is started with `--xdebug`.
zend_extension=xdebug

[Xdebug]
xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.var_display_max_children = 1024
xdebug.var_display_max_data = -1
xdebug.var_display_max_depth = 10
7 changes: 1 addition & 6 deletions inc/composer/class-docker-compose-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,7 @@ protected function get_php_reusable() : array {
"proxy:s3-{$this->hostname}",
"proxy:s3-{$this->project_name}.localhost",
],
'volumes' => [
$this->get_app_volume(),
"{$this->config_dir}/php.ini:/usr/local/etc/php/conf.d/altis.ini",
'socket:/var/run/php-fpm',
'tmp:/tmp',
],
'volumes' => $volumes,
'networks' => [
'proxy',
'default',
Expand Down

0 comments on commit 964e0f4

Please sign in to comment.