Permalink
Browse files

Changed docker.host to docker-host.localhost #101

  • Loading branch information...
wabbenhuis committed Dec 19, 2018
1 parent ba757ed commit 70097480bd09ccb56768b9b5bf5da0cbe367d2fc
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 docker-compose.yml
  3. +1 −1 php-fpm/xdebug.ini
@@ -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
@@ -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:
@@ -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.