prooph / docker-files

Collection of prooph docker files
http://getprooph.org
249 stars 89 forks source link

Consider `host.docker.internal` using instead of a hardcoded IP #32

Open basz opened 6 years ago

basz commented 6 years ago

Consider host.docker.internal using instead of a hardcoded IP

It looks like host.docker.internal settled as a replacement for the Mac specific version and later localhost tld and is here to stay.

sandrokeil commented 6 years ago

It looks like it's not working on Linux? Maybe we should remove it and should set this in via Docker env variables or we have to wait until https://github.com/docker/for-linux/issues/264 was fixed?

    environment:
    - PHP_IDE_CONFIG=serverName=application
    - XDEBUG_CONFIG=remote_host=172.17.01