library docker-drupal-stack
A basic Drupal development stack using docker
sgrichards/docker-drupal-stack
A basic Drupal development stack using docker
- Wednesday, August 3, 2016
- by sgrichards
- Repository
- 0 Watchers
- 1 Stars
- 12 Installations
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Docker Compose: Drupal
Drupal/OSX development environment using Docker Compose., (*1)
Prerequisites
-
Docker for Mac or Docker toolbox
Usage
- Place Drupal in the
/docroot/
directory.
- Run
docker-compose up -d
- Visit http://localhost:8080 or http://192.168.99.100 in your browser.
- 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"
- To run a Drush command, execute
docker-compose exec web drush status
- 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, (*2)