Skip to content

Commit

Permalink
Merge pull request #1912 from danskernesdigitalebibliotek/drush-https
Browse files Browse the repository at this point in the history
Make Drush use HTTPS and local TLD
  • Loading branch information
xendk authored Jan 6, 2025
2 parents b8d5d6a + 24b8763 commit ce65e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ce65e7b

Please sign in to comment.