From 24b87634cb3f18f82b479fe9aaff44a6df377075 Mon Sep 17 00:00:00 2001 From: Thomas Fini Hansen Date: Mon, 6 Jan 2025 13:15:44 +0100 Subject: [PATCH] Make Drush use HTTPS --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 30064dcec..c552b51d0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,8 +24,8 @@ x-user: x-environment: &default-environment - # The php cli container needs this to be defined. Otherwise it is not possible to execute drush commands. - LAGOON_ROUTE: &default-url http://${COMPOSE_PROJECT_NAME}.${DEV_TLD:-docker} + # Lagoon ensures that Drush knows the local site URI using this variable. + LAGOON_ROUTE: &default-url https://${COMPOSE_PROJECT_NAME}.${DEV_TLD:-docker} # Environment variables which mimic what will be set in a Lagoon cluster locally LAGOON_PROJECT: 'dplcms' LAGOON_ENVIRONMENT: 'local'