Skip to content

clintvidler/drupal-docker

Repository files navigation

drupal-docker

A Docker starter for Drupal, with Composer, and Drush.

Using this repo

  • Start the containers: make up

  • Stop the containers: make down

  • Rebuild the containers: make build

Review 'Makefile' to see the commands without using Make.

Initial Setup

  1. Open terminal on the drupal container: make bash

  2. Install Drupal using Drush (optional): drush site:install --db-url=mysql://drupal:drupal@drupal-docker-database:3306/drupal --site-name="My Drupal Site" --account-name=admin --account-pass=admin --account-mail=admin@example.com

  3. Visit: /user/login

  4. admin:admin

Themes/Modules

Put custom themes/modules into the ./drupal-themes/./drupal-modules folders, which map to the respective Drupal custom folders.

Admin Tools

Dependencies

  • Docker Desktop
  • Make (Optional)

About

A starter for Drupal using Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors