sgrichards/docker-drupal-stack

A basic Drupal development stack using docker

dev-master 2016-08-03 09:07 UTC

This package is auto-updated.

Last update: 2024-04-09 00:51:43 UTC


README

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