Open jonnyhocks opened 6 months ago
Have a look at https://ddev.readthedocs.io/en/stable/users/usage/faq/#communicate-via-https
You'll need to create a .ddev/docker-compose.communicate.yaml file and put in it:
services:
web:
external_links:
- "ddev-router:additional-hostname-a.ddev.site"
- "ddev-router:additional-hostname-b.ddev.site"
(change 'web' to the name of the service that needs to access it)
Hello,
Logging an issue here which we have discovered where its not possible to run behat tests using this addon where the
base_url
in the behat.yml config file is set to a url which is listed as anadditional_hostname
entry in the.ddev/config.yaml
file.Our scenario for doing this is because we have a website which uses domain-based localisation, and we added a behat specific url to the additional hostnames so that we can run behat tests on path-based localisation.
Steps to reproduce:
additional_hostnames
in.ddev/config.yaml
behat.yml
with the new url.