From 70097480bd09ccb56768b9b5bf5da0cbe367d2fc Mon Sep 17 00:00:00 2001 From: Wesley Abbenhuis Date: Wed, 19 Dec 2018 13:41:02 +0100 Subject: [PATCH] Changed docker.host to docker-host.localhost #101 --- README.md | 2 +- docker-compose.yml | 2 +- php-fpm/xdebug.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0aaeb1b..42a8626 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index e82ff15..3c58a32 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/php-fpm/xdebug.ini b/php-fpm/xdebug.ini index 70a7ea9..664f152 100644 --- a/php-fpm/xdebug.ini +++ b/php-fpm/xdebug.ini @@ -3,4 +3,4 @@ zend_extension=xdebug.so [Xdebug] xdebug.remote_enable=true xdebug.remote_port=5902 -xdebug.remote_host=docker.host \ No newline at end of file +xdebug.remote_host=docker-host.localhost \ No newline at end of file