We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Boran, i'm trying to use your docker-drupal and i would like to know how drupal finds the exeternal mysql config passed by env with docker ?
I mean, as far as i know we need to update settings.php and set the database values on the drupal project we're working on.
docker run -td -p 8004:80 --name bc -e "DRUPAL_VERSION=drupal-8" -e "DRUPAL_ADMIN_PW=foo" -e "DRUPAL_SITE_NAME=My Super site" -e "MYSQL_HOST=10.1.1.1" -e "MYSQL_DATABASE=drupal_site1" -e "MYSQL_USER=drupal_site1" -e "MYSQL_PASSWORD=pass4drupal_site1" -v /opt/foo:/var/www/html boran/drupal
How does it work with docker ? Which moment the value is set, how those variables are set on the settings.php ?
Thanks!
The text was updated successfully, but these errors were encountered:
See start.sh, specifically drush site-install
https://github.com/Boran/docker-drupal/blob/master/start.sh#L224
Sorry, something went wrong.
No branches or pull requests
Hi Boran, i'm trying to use your docker-drupal and i would like to know how drupal finds the exeternal mysql config passed by env with docker ?
I mean, as far as i know we need to update settings.php and set the database values on the drupal project we're working on.
How does it work with docker ? Which moment the value is set, how those variables are set on the settings.php ?
Thanks!
The text was updated successfully, but these errors were encountered: