DrupalStand / drupal-dev-docker

An opinionated Drupal development environment based on Docker.
GNU General Public License v2.0
22 stars 19 forks source link

Docker extra-hosts must be an IP #65

Closed jackinloadup closed 1 year ago

jackinloadup commented 1 year ago

Per the docker-compose documentation the extra_hosts variable must be an IP address. https://docs.docker.com/compose/compose-file/#extra_hosts

The ifeq matches if equal to nothing. Else the host ip was found and thus we should use it.