Skip to content

Commit

Permalink
Merge pull request #102 from wabbenhuis/master
Browse files Browse the repository at this point in the history
Changed docker.host to docker-host.localhost resolves #101
  • Loading branch information
eko committed Dec 19, 2018
2 parents ba757ed + 7009748 commit 8e0a4f6
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 8e0a4f6

Please sign in to comment.