Skip to content

Default DDEV config for running tests.  #52

@finnlewis

Description

@finnlewis

Working with @opdavies on testing microsites, and experiencing issues on his NixOS operating system.

It seems that to run the tests in phpunit, we need to be able to resolve domains from inside ddev.

group-1.web
group-2.web
group-3.web
group-4.web
group-5.web

Some experimenting locally suggests that DDEV wants these to be in the /ets/hosts file of the host machine.

DDEV can attempt to add these automaticallly by defining them as FQDNs.

See https://ddev.readthedocs.io/en/latest/users/extend/additional-hostnames/

On @opdavies's machine, DDEV was not allowed to write these to /etc/hosts, as it is less permissive than Ubuntu,

  • Add fqdns to .ddev config
  • Add docs to explain how to manually add the required domains

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions