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-10-09 01:55:41 UTC
README
Drupal/OSX development environment using Docker Compose.
Prerequisites
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