Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmunz committed May 31, 2024
2 parents a4ec482 + 333bab4 commit e0fc903
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,21 @@ The entrypoint is responsible for:

### How to add additional hostnames?

If you want to test hosts not configured in the web container, you need to use external_links in
[docker-compose.backstop.yaml](docker-compose.backstop.yaml).
If you want to test hosts not configured in the web container, you need to use external_links in the service containers.
For that add a file `docker-compose.external_links.yaml` to your project which should look like this:

```yaml
services:
chrome: &domains
external_links:
- "myproject.ddev.site:myproject"
- "myproject2.ddev.site:myproject2"
firefox:
<<: *domains
```
See: [ddev FAQ: Can different projects communicate with each other?](https://ddev.readthedocs.io/en/latest/users/usage/faq/#features-requirements)
Do not forget to remove the #ddev-generated line!
### Change backstop tests directory
Per default the backstop directory containing backstop config etc. is expected in your project directory (besides the
Expand Down

0 comments on commit e0fc903

Please sign in to comment.