Permalink
Browse files

Merge pull request #102 from wabbenhuis/master

Changed docker.host to docker-host.localhost resolves #101
  • Loading branch information...
eko committed Dec 19, 2018
2 parents ba757ed + 7009748 commit 8e0a4f65f860edaad9696b4160363a8607e4da8e
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 8e0a4f6

Please sign in to comment.