PHPackages                             sgrichards/docker-drupal-stack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. sgrichards/docker-drupal-stack

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

sgrichards/docker-drupal-stack
==============================

A basic Drupal development stack using docker

118

Since Aug 3Pushed 10y agoCompare

[ Source](https://github.com/sgrichards/docker-drupal-stack)[ Packagist](https://packagist.org/packages/sgrichards/docker-drupal-stack)[ RSS](/packages/sgrichards-docker-drupal-stack/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Docker Compose: Drupal
======================

[](#docker-compose-drupal)

Drupal/OSX development environment using [Docker Compose](https://docs.docker.com/compose/).

Prerequisites
-------------

[](#prerequisites)

1. [Docker for Mac](https://docs.docker.com/docker-for-mac/) or [Docker toolbox](https://www.docker.com/products/docker-toolbox)

Usage
-----

[](#usage)

1. Place Drupal in the `/docroot/` directory.
2. Run `docker-compose up -d`
3. Visit  or  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](http://drush.org) command, execute `docker-compose exec web drush status`
6. Run `docker-compose exec web bash` to start an interactive shell *(ssh equivalent)*

Known issues
------------

[](#known-issues)

Xdebug requires the following be performed to standardise the loopback IP:

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/511a4904481f7c1f2e4a18712a09caf664b4628ce3babaadae33cbee352fcd00?d=identicon)[sgrichards](/maintainers/sgrichards)

---

Top Contributors

[![sgrichards](https://avatars.githubusercontent.com/u/1685450?v=4)](https://github.com/sgrichards "sgrichards (3 commits)")

### Embed Badge

![Health badge](/badges/sgrichards-docker-drupal-stack/health.svg)

```
[![Health](https://phpackages.com/badges/sgrichards-docker-drupal-stack/health.svg)](https://phpackages.com/packages/sgrichards-docker-drupal-stack)
```

###  Alternatives

[pomander/pomander

Deployment for PHP

19615.7k2](/packages/pomander-pomander)[symfony-tools/docs-builder

The build system for Symfony's documentation

3668.5k1](/packages/symfony-tools-docs-builder)[mwltr/magedeploy2-base

Magento2 Deployment Setup using Robo and Deployer

425.3k](/packages/mwltr-magedeploy2-base)[enygma/composerclean

An additional command for Composer that removes configured files/directory

171.8k](/packages/enygma-composerclean)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
