From bb9820e0527db4a31bee2e489c1b1a0f63562a9c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 27 Jun 2024 12:13:24 +0100 Subject: [PATCH] Set the default URL for Drush to use when ...executing commands --- templates/php/drupal/.env.example.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/php/drupal/.env.example.twig b/templates/php/drupal/.env.example.twig index ed84f59..4ce83b2 100644 --- a/templates/php/drupal/.env.example.twig +++ b/templates/php/drupal/.env.example.twig @@ -7,6 +7,8 @@ export COMPOSE_PROJECT_NAME={{ name }} export COMPOSE_PROFILES=web,php,database export DOCKER_WEB_VOLUME=.:{{ project_root }} + +export DRUSH_OPTIONS_URI="https://${COMPOSE_PROJECT_NAME}.docker.localhost" {% endif %} export MYSQL_DATABASE=app