Skip to content

Commit 035be4c

Browse files
committed
build: update files to point to new Docker dns
1 parent 5d1e6f0 commit 035be4c

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

examples/laravel5/config/php.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,8 @@ xdebug.remote_enable = 1
18531853
xdebug.coverage_enable = 1
18541854
xdebug.idekey = xdebug
18551855
xdebug.remote_port = 9000
1856+
xdebug.remote_host = host.docker.internal
1857+
xdebug.remote_connect_back = 0
18561858
xdebug.remote_autostart = 1
18571859
xdebug.var_display_max_depth = 5
18581860
xdebug.var_display_max_children = 256

examples/laravel5/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
[PROJECT_NAME]-php:
2323
container_name: sourcetoad_[PROJECT_NAME]_php
2424
environment:
25-
XDEBUG_CONFIG: "remote_host=10.254.254.254"
25+
XDEBUG_CONFIG: "remote_host=host.docker.internal"
2626
PHP_IDE_CONFIG: "serverName=docker"
2727
build: .
2828
volumes:

examples/yii2/config/php.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,6 +1856,8 @@ opcache.fast_shutdown = 1
18561856
xdebug.remote_enable = 1
18571857
xdebug.remote_port = 9000
18581858
xdebug.remote_autostart = 1
1859+
xdebug.remote_host = host.docker.internal
1860+
xdebug.remote_connect_back = 0
18591861
xdebug.var_display_max_depth = 5
18601862
xdebug.var_display_max_children = 256
18611863
xdebug.var_display_max_data = 1024

examples/yii2/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
container_name: sourcetoad_[PROJECT_NAME]_php
2424
build: .
2525
environment:
26-
XDEBUG_CONFIG: "remote_host=10.254.254.254"
26+
XDEBUG_CONFIG: "remote_host=host.docker.internal"
2727
PHP_IDE_CONFIG: "serverName=docker"
2828
volumes:
2929
- ../:/code

0 commit comments

Comments
 (0)