Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set DRUSH_OPTIONS_URI in Drupal container #410

Merged

Conversation

xurizaemon
Copy link
Contributor

Without URI set, Drush defaults to http://default.

69e89db055bd:/var/www/drupal# drush status --fields='Site URI'
Site URI : http://default 

Since we set DRUSH_DEFAULT_SITE_URL, we can populate DRUSH_OPTIONS_URI too and save some unnecessary --uri.

69e89db055bd:/var/www/drupal# export DRUSH_OPTIONS_URI=${DRUPAL_DEFAULT_SITE_URL} 
69e89db055bd:/var/www/drupal# drush status --fields='Site URI'
Site URI : http://islandora.example.org
# and for drush user:login, etc.

Copy link
Contributor

@alxp alxp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does what it says.

@alxp alxp merged commit 645ed72 into Islandora-Devops:development Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants