Skip to content

sgrichards/docker-drupal-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose: Drupal

Drupal/OSX development environment using Docker Compose.

Prerequisites

  1. Docker for Mac or Docker toolbox

Usage

  1. Place Drupal in the /docroot/ directory.
  2. Run docker-compose up -d
  3. Visit http://localhost:8080 or http://192.168.99.100 in your browser.
  4. Use drupal:drupal@mysql/drupal for the database settings. e.g. docker-compose exec web drush si minimal --db-url="mysql://drupal:drupal@mysql/drupal"
  5. To run a Drush command, execute docker-compose exec web drush status
  6. Run docker-compose exec web bash to start an interactive shell (ssh equivalent)

Known issues

Xdebug requires the following be performed to standardise the loopback IP: https://gist.github.com/ralphschindler/535dc5916ccbd06f53c1b0ee5a868c93

About

Docker compose based Drupal stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published