Skip to content

Commit

Permalink
Remove xdebug host env var (host.docker.internal by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Mar 29, 2024
1 parent 241fea8 commit 781d5ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
container_name: "${PROJECT_NAME}_php"
environment:
# By default xdebug extension also disabled.
PHP_EXTENSIONS_DISABLE: xhprof
PHP_EXTENSIONS_DISABLE: xhprof,spx
# PHP 8.2+ supports "PHP_MAIL_MIXED_LF_AND_CRLF=On" and does not need dos2unix workaround.
PHP_MAIL_MIXED_LF_AND_CRLF: On
PHP_SENDMAIL_PATH: '/usr/bin/msmtp -t'
Expand All @@ -53,9 +53,6 @@ services:
# 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
volumes:
- ./:/var/www/html:cached
## Alternative for macOS users: Mutagen https://wodby.com/docs/stacks/php/local#docker-for-mac
Expand Down

0 comments on commit 781d5ac

Please sign in to comment.