Open tothpaul opened 4 years ago
found a workaround by adding
extra_hosts:
- "dockerized-magento.local:172.17.0.9"
in the PHP: section of docker-compose.yml
but I'm not sure that the IP will be always the same.
BTW I've used a PHP script to understand what to do
<?php
readfile('/etc/hosts');
echo gethostbyname('dockerized-magento.local');
print_r($_SERVER); // to known the server's IP
Hello,
nice Docker, easy to install, but the SOAP API fails at http://dockerized-magento.local/api/v2_soap/index
it seem's that de image could not resolve dockerized-magento.local (the WSDL refer to the server itself)
I've tried to enter php to add 127.0.0.1 in /etc/hosts but it doesn't fix the problem.
any idea ?