sgrichards / docker-drupal-stack
A basic Drupal development stack using docker
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/sgrichards/docker-drupal-stack
This package is auto-updated.
Last update: 2025-10-09 04:10:54 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/drupalfor 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 bashto 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