Skip to content

Commit

Permalink
Changed docker.host to docker-host.localhost #101
Browse files Browse the repository at this point in the history
  • Loading branch information
wabbenhuis committed Dec 19, 2018
1 parent ba757ed commit 7009748
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -66,7 +66,7 @@ You can also use Kibana to visualize Nginx & Symfony logs by visiting `http://sy

# Use xdebug!

To use xdebug change the line `"docker.host:127.0.0.1"` in docker-compose.yml and replace 127.0.0.1 with your machine ip addres.
To use xdebug change the line `"docker-host.localhost:127.0.0.1"` in docker-compose.yml and replace 127.0.0.1 with your machine ip addres.
If your IDE default port is not set to 5902 you should do that, too.

# Code license
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -20,7 +20,7 @@ services:
links:
- db
extra_hosts:
- "docker.host:127.0.0.1"
- "docker-host.localhost:127.0.0.1"
nginx:
build: ./nginx
ports:
Expand Down
2 changes: 1 addition & 1 deletion php-fpm/xdebug.ini
Expand Up @@ -3,4 +3,4 @@ zend_extension=xdebug.so
[Xdebug]
xdebug.remote_enable=true
xdebug.remote_port=5902
xdebug.remote_host=docker.host
xdebug.remote_host=docker-host.localhost

0 comments on commit 7009748

Please sign in to comment.